Fulltext results:
- rmdir for OSX
- ====== rmdir for OSX ====== The Finder on OSX creates ''.DS_Store'' files in the directories to store its settings. This makes removing ... ctories together with the contained ''.DS_Store'' file: <code bash> rmdir() { for d in "$@" do f="${d... {f}" ] then echo "removing ${f}" rm "${f}" fi /bin/rmdir "${d}" || ls -al "${d}" done } </code
- Command Line Audio
- from 0 (mute) to 10 (maximum). ===== Play Audio File ===== How to play an audio file from command line is described here: [[http://www.macosxhints.com/... udio player]]. You just enter <code bash> afplay file.wav </code> More information on how to use afp
- Make your Mac feel at Home
- else # not at home echo "on the road again..." fi </code> To use this code, set the ''HOMESSID'' t
- Clear DNS Cache
- Cache ====== To clear the DNS cache on OS X, you first have to flush the cache and then send a signal