dslreports logo
site
    All Forums Hot Topics Gallery
spc
Search Topic:
uniqs
483
share rss forum feed


TamaraB
Question The Current Paradigm
Premium
join:2000-11-08
Da Bronx
kudos:1
Reviews:
·Optimum Online
·Clearwire Wireless

[OS X] Invisible Desktop Files

Is there a way to have a file in ~/Desktop and have it NOT appear on the Graphical desktop display? I would like to be able to change such an attribute on specific items to hide/show them graphically. Is there a file attribute among OSX's extended attributes which will make a file "desktop in/visible"?


rjackson
Premium,VIP,MVM,Ex-Mod 2005-13
join:2002-04-02
Ringgold, GA
kudos:1

2 recommendations

chflags hidden /path/to/porn

And to unhide it:

chflags nohidden /path/to/porn


TamaraB
Question The Current Paradigm
Premium
join:2000-11-08
Da Bronx
kudos:1
Why thankee......

kitsune

join:2001-11-26
Sacramento, CA
FYI, that will make it invisible in the finder window as well.

Daemon
Premium
join:2003-06-29
Berkeley, CA
reply to TamaraB
you can also change the name of the file from [name] to [.name] (note the dot), which will hide it graphically and in finder, but will be visible in terminal
--
-Ryan
I use Linux, OS X, iOS and Windows. Let the OS wars die.


TamaraB
Question The Current Paradigm
Premium
join:2000-11-08
Da Bronx
kudos:1
Reviews:
·Optimum Online
·Clearwire Wireless
Won't let me on the desktop:

You can’t use a name that begins with a dot “.”, because these names are reserved for the system. Please choose another name.


Only in Finder can I make a file "hidden". That works for me though.

Daemon
Premium
join:2003-06-29
Berkeley, CA
Reviews:
·Comcast
·webpass.net
said by TamaraB:

Won't let me on the desktop:

You can’t use a name that begins with a dot “.”, because these names are reserved for the system. Please choose another name.


Only in Finder can I make a file "hidden". That works for me though.

Sorry, I should have specified:

you can add a dot to a file name to hide it, but you have to rename the file in terminal to do so:
mv (file) (.file)
 
--
-Ryan
I use Linux, OS X, iOS and Windows. Let the OS wars die.