Find all files in current directory by extension
find . -type f -name "*.extension"
Delete all .DS_Store
files
sudo find / -name "*.DS_Store" -type f -delete
Disable:
defaults write -g NSScrollViewRubberbanding -int 0
Enable:
defaults delete -g NSScrollViewRubberbanding
This is because of your system's max opened file limit. For OSX the default is very low (256). Temporarily increase your limit with ulimit -n 10480
, the number being the new max limit.
In some versions of OSX the above solution doesn't work. In that case try launchctl limit maxfiles 10480 10480
and restart your terminal.