Posts tagged mac os x:

Aug posted 12 Aug 2009 and tagged ,

Add this to ~/.bash_profile, ~/.bashrc, or wherever you prefer. You can then recursively remove annoying .DS_Store files from a directory by executing the command rm_dss.

alias rm_dss='find . -name *.DS_Store -type f -exec rm {} \;'

Pop out

1
alias rm_dss='find . -name *.DS_Store -type f -exec rm {} \;'

Source: http://snippets.dzone.com/posts/show/4982

Apr posted 27 Apr 2009 and tagged , ,

Disable:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Pop out

$
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Reenable:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Pop out

$
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Source: http://tech.karbassi.com/2007/11/06/leopard-turn-off-bonjour-mdnsresponder/