Archive

Posts Tagged ‘Apple/ MAC’

Mac OS X: Show hidden files and folders in Finder

July 24, 2010 Leave a comment

I wanted to delete folders from Finder on MAC but you can’t see folders (hidden or folders starting with .(dot) i.e. .svn. I am very poor at remembering unix commands, that’s why I have decided to put it here:

Delete from Terminal window:

Locate the folder where you want to perform this action:

command:

rm -r f <foldername>

‘r’ is for recursive and ‘f’ overrides permissions

You can change the Finder view to show hidden folders and then delete in Finder window, you need to run following command in Terminal window:

defaults write com.apple.finder AppleShowAllFiles -bool true

and now you run following command to kill the Finder window and open new window which will show the content:

killall Finder

This will show all your hidden files but your finder window can be messy, after you have done your deletion you can revert back your Finder into its normal view options by reversing the command:

defaults write com.apple.finder AppleShowAllFiles -bool false

killall Finder

Thats it.

Advertisements
Categories: Apple/ MAC Tags: