tar

Tech tech na spinea.sk
Úterý Leden 7 09:56:45 CET 2003


Uz dlhsi cas sa pokusam urobit zalohu z adresara /home ale iba subory typu
doc a xls ale akosi
sa mi nedari.
Pouzivam Sambu a kazdy uzivatel na sieti ma prip. svoj vlastny dom. adresar
kam si robi zalohy.
Su tam subory aj s medzerami a diaktrikou.
Ked spustim len find /home -name \*.doc -o -name \*.xls tak ich vsetky v
pohode najde
Ale ako to predat tar-u?

find /home -name \*.doc -o -name \*.xls | xargs tar czf nazev.tgz

-I option is now deprecated for bzip2. Next time, please use -j instead.
Compatibility will be removed soon.
tar: Conflicting compression options
Try `tar --help' for more information.
tar: Options `-[0-7][lmh]' not supported by *this* tar
Try `tar --help' for more information.
tar: invalid option -- á
Try `tar --help' for more information.
tar: 31.12.2002-16.12..xls: Cannot stat: No such file or directory
tar: /home/lesko/Záloha/PLNENIE: Cannot stat: No such file or directory
tar: PLÁNU/XII.2002/TABUĽKA: Cannot stat: No such file or directory



Další informace o konferenci Linux