Tarballing over the network (instead of archiving, then copying)

tar cf -  source/dir   | ssh server.example.com 'cat >foo.tar'
tar czf -  source/dir  | ssh server.example.com 'cat >foo.tar.gz'

ssh server 'cat foo.tar'    | tar xf -
ssh server 'cat foo.tar.gz' | tar xzf -



I solved my youtube-dl and youtube2mp3 problems thanks to this page on LinuxQuestions.org. The version of youtube-dl in Ubuntu maverick is obsolete and should be replaced with this python script, which I saved as youtube-dl-new. Then I use this for generating an MP3 from the youtube URL:

# http://hubpages.com/hub/Youtube-to-MP3-on-Ubuntu-Linux
youtube-dl-new --output=$FILE --format=18 "$1"
ffmpeg -i $FILE -acodec libmp3lame -ac 2 -ab 128k -vn -y "$2"
rm $FILE

Valid XHTML 1.0 Transitional

Maintained with open-source software, especially GNU Emacs and the GIMP.

Back to the top of this page

Back to the main page