Saturday, December 7, 2013

Copy a tree structure but just get all the files which match a pattern

rsync -avm --include='*.ogg*' -f 'hide,! */' parsifal parsifal-oggs

I think the hide thing was to stop it copying directories that didn't have any ogg files, but I'm not sure anymore.

Xubuntu Rip Audio CD

Sound Juicer seems to not work for me and I can't be bothered to figure out why.
Asunder seems to do exactly the same thing, only it works.

sudo apt-get install lame asunder

It needs lame to rip to mp3