This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find / -mount -type f -ls|sort -rnk7 |head -30|awk '{printf "%10d MB\t%s\n",($7/1024)/1024,$NF}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GREP_OPTIONS=--color=auto | |
ffind () | |
{ | |
find . -name ".svn" -prune -o -name "CVS" -prune -o -name ".hg" -prune -o -exec grep --color=auto "$@" {} + | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sips -s format png --resampleWidth 512 "$1" --out iTunesArtwork | |
sips -s format png --resampleWidth 57 "$1" --out Icon.png | |
sips -s format png --resampleWidth 114 "$1" --out [email protected] | |
sips -s format png --resampleWidth 29 "$1" --out Icon-Small.png | |
sips -s format png --resampleWidth 58 "$1" --out [email protected] | |
sips -s format png --resampleWidth 50 "$1" --out Icon-Small-50.png | |
sips -s format png --resampleWidth 72 "$1" --out Icon-72.png |