tar

2007-07-7 | 6:46 pm | Kein Kommentar »

best of tar and ssh

tar vcf – . | ssh polaris “cd /sdb1/ZZZ_christine && tar xf – “

auspacken: tar xvfz archiv.tgz
einpacken: tar cvfz archiv.tgz verz1 dat1 ….

.svn ausschliessen

tar cvfz blub.tgz –exclude=.svn blub/

Groesser Anzahl von Dateien archivieren

tar -cvf - .
-- exclude-from /tmp/exclude
| (cd Zielverzeichnis; tar -xf -)

//exclude:
./blablub
./gaga

Sag etwas dazu: