A List of Very Short Snippets

bash: Batch convert wma to mp3
find . -type f | grep .wma$ | while read file; do echo "$file"; ffmpeg -i "$file" -acodec libmp3lame -ab 192k "$file.mp3"; done	
bash: Mail a bunch of text files somewhere
find ./ -mtime -10  | grep "some more filtering" | while read email; do ls -ahl "$email"; /bin/mail -s "email subject" "someone@somewhere.tld" < "$email"; done	
bash: Find older than X days files and DELETE them
/bin/find /some/carefully/though/out/location/ -mtime +7 -type f -exec rm {} \;	
bash: Convert a dvd folder to an iso file
mkisofs -dvd-video -o dvdname.iso dvd\ directory	
php: sort multi-dimensional array
function aasort (&$array, $key) {
	foreach ($array as $ii => $va) {
	foreach ($sorter as $ii => $va) {
bash: delete all frozen exim emails older than X
exiqgrep -z -o 9600 -i | xargs exim -Mrm