mbohun
9/26/2013 - 10:05 PM

gistfile1.sh

# flac to mp3
for file in *.flac; do flac -cd "$file" | lame -h -b 320 - "${file%.flac}.mp3"; done

# lftp example
lftp -u username,password -e "put -O src Screenshot_2013-02-21-01-31-05.png" ftp.host.here