Using Automator, I want to be able to toggle a folder or file's "hidden" status. How is this possible through the command line? (I'm giving the file's directory to the script via a variable.)
MacOS – Toggling a file’s “hidden” status
automatorcommand linemacos
Related Question
- Converting videos in the background using automator and handbrake
- MacOS – Automator: Change to selected directory and run shell script
- Mdfind piped to automator
- How to echo shell script in Automator
- Adding variables to a shell command in Automator
- Automator Change to directory of dropped files before running Shell command
Best Answer
See also: http://osxdaily.com/2012/07/19/hide-file-mac-os-x-chflags/