Re: [PUG] Tar exclude
Genau, die Reihenfolge! tar cvzf test.tar.gz -X noarchive / wobei Du auch Dein test.tar.gz in noarchive mit aufnehmen solltest, sonst packst Du das nmlich auch mit ein... Laurence On Thu, 2003-08-14 at 22:58, Bjrn Pfeiffer wrote: On Thu, Aug 14, 2003 at 10:23:48PM +0200, P-Jack wrote: router:/backup# tar -X noarchive cvzf test.tar.gz / tar: You must specify one of the `-Acdtrux' options kann mir jemand unter die Arme greifen? Vielleicht liegts daran - man tar: ... The first argument to tar ^ must be one of the options: Acdrtux, followed by any optional func tions. The final arguments ... Also die Reihenfolge andersrum? ciao Bjrn PUG - Penguin User Group Wiesbaden - http://www.pug.org PUG - Penguin User Group Wiesbaden - http://www.pug.org
[PUG] Tar exclude
hi, ich will eine komplett Sicherung vom ganzen / machen. Dabei soll /proc *.sock etc. Dateien draußen bleiben. Unter tar gibt es die -X Argument. Da steht, man soll eine Datei als Input mit geben, mit den Dateien/Verzeichnissen die man nicht will. Allerdings habe ich das Prinzip noch nicht verstanden: router:/backup# tar -X noarchive cvzf test.tar.gz / tar: You must specify one of the `-Acdtrux' options kann mir jemand unter die Arme greifen? cu denny PUG - Penguin User Group Wiesbaden - http://www.pug.org
Re: [PUG] Tar exclude
On Thu, Aug 14, 2003 at 10:23:48PM +0200, P-Jack wrote: router:/backup# tar -X noarchive cvzf test.tar.gz / tar: You must specify one of the `-Acdtrux' options kann mir jemand unter die Arme greifen? Vielleicht liegts daran - man tar: ... The first argument to tar ^ must be one of the options: Acdrtux, followed by any optional func tions. The final arguments ... Also die Reihenfolge andersrum? ciao Bjrn PUG - Penguin User Group Wiesbaden - http://www.pug.org
Re: [PUG] Tar exclude
Am Donnerstag, 14. August 2003 22:23 schrieb P-Jack: hi, router:/backup# tar -X noarchive cvzf test.tar.gz / tar: You must specify one of the `-Acdtrux' options kann mir jemand unter die Arme greifen? Wie gesagt zuerst _Eines_ von -Acdtrux, -X steht da nicht drin! versuchs doch mal mit cpio, find ich in Verbindung mit find effectiver Grüße Markus PUG - Penguin User Group Wiesbaden - http://www.pug.org