User Tools

Site Tools


Sidebar






newpage

linux:commands

This is an old revision of the document!


Shell Commands

the place for useful commands, 1-liners and snippets

please leave a short description or some links here


archives - tar.gz | bz | 7zip

create tar.gz archiv

 tar -czvf myfiles.tar.gz /home/username/myfiles/


backup mirror.tar via ssh & cat

the file-globbing regex /[a-oq-z]* leaves out /p* dirs, to exclude /proc :-)

 ssh -v root@hostname tar cvf - /[a-oq-z]* | cat > /backupdir/mirror.tar



sound

mp3 “normalize” by id3 tag

mp3gain analyses sound files and saves an id3 volume metatag to them. many music-players can read that id3 tag and adjust the volume.

 find /path/to/music/ -type f -iname '*.mp3' -print0 | xargs -0 mp3gain -r -k


linux/commands.1322931008.txt.gz · Last modified: 2011/12/03 17:50 by tkilla