Jul.21,10.6: A Service to show/hide hidden files
作者:范范 日期:2010-07-22
There are many ways to show and hide the various hidden files and folders in Mac OS X. This one is an update to an older Automator workflow method. The previous method was to create a plug-in in Automator; now a pair of Services are used, so this hint only applies to Snow Leopard. Refer to the previous hint for usage in either Leopard or Tiger.
Here's how to do it:
- Launch Automator and choose Service as your template. (Be careful in the next steps if you copy and paste the code that the apostrophes and quotes come through as plain text.)
- On the left side, use the search bar to find the 'Run Shell Script' action (it's in Utilities) and drag three instances of that action over to the right side.
- At the very top on the right where is says 'Service receives selected' choose 'files or folders' in 'Finder.'







