Become a MacRumors Supporter for $25/year with no ads, private forums, and more!
  • Did you order new AirTags? We've opened a dedicated AirTags forum.

tommyburns13

macrumors newbie
Original poster
Apr 18, 2014
4
0
Does anyone know of a way to hide/unhide files without having to access the terminal?
 

Partron22

macrumors 68030
Apr 13, 2011
2,649
796
Yes
Shell scripting in AppleScript will do the job.
Like this:
Code:
set buttonpressed to button returned of (display dialog "Show Hidden Files?" buttons {"Yes", "No"})

try
	if the buttonpressed is "No" then do shell script "defaults write com.apple.finder AppleShowAllFiles OFF"
	if the buttonpressed is "Yes" then do shell script "defaults write com.apple.finder AppleShowAllFiles ON"
	do shell script "killall Finder"
end try
If you want to limit the effect to one file or folder only, you could shellscript the addition or elimination of a leading '.' from a single filename.
 
Comment

Julien

macrumors G4
Jun 30, 2007
11,434
4,608
Atlanta
....also if you are just looking for the Library folder just hold down the option key and select the Go menu.
 
Comment

Mike Boreham

macrumors 68020
Aug 10, 2006
2,267
655
UK
Does anyone know of a way to hide/unhide files without having to access the terminal?

Most of the well known utilities, (Tinkertool, Cocktail, Onyx, MacPilot mavericks Cache Cleaner) have an option to show invisible files.

But if you do it often, Funter is the best...and put it in your startup items.
 
Comment

Felasco

Guest
Oct 19, 2012
372
2
Does anyone know of a way to hide/unhide files without having to access the terminal?

Here you go:

http://www.altomac.com/hide_folders/

What is Hide Folders?

Hide Folders is a freeware app for Mac OS X dedicated to protect documents and folders. With a click, conceals files and folders with all their contents. The application is simple and natural to use because it works just as you are used to do things everyday with your Mac. With this app you will protect your files avoiding them to be being modified, seen or erased by other users.
 
Comment

tommyburns13

macrumors newbie
Original poster
Apr 18, 2014
4
0
I assume you are replying to my recommendation for Funter, since it is obvious Hide Folders hides individual items.

Funter is simply a switch which makes all invisible files visible or invisible.

Secret Folder is another like Hide Folder

Secret Folder looks like a good simple piece of software to use. I will look into this.

One further question, i have moved a hidden file over from a different HDD, with a can make visible using the terminal commands etc, but how do I make this permanently visable and not in a 'hidden' state?
 
Comment

Mike Boreham

macrumors 68020
Aug 10, 2006
2,267
655
UK
One further question, i have moved a hidden file over from a different HDD, with a can make visible using the terminal commands etc, but how do I make this permanently visable and not in a 'hidden' state?

I am sure you can do it with a Terminal command but I will let someone else give you the exact syntax....or Secret Folder will do it. You will have to drag it to Secret Folder, which will then give the option to make it visible or invisible.

Note "dragging it into Secret Folder" is not moving the file from it's location, but bringing it under the control of Secret Folder in its present location.
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.