[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar entpacken will nicht



On 31.01.07 08:38:21, Simon Bienlein wrote:
> Hallo Nils,
> 
> Niels Jende wrote:
> > Was m�e ich? ich m�e, das der gesamte Inhalt aus cms nach
> > httpdocs kopiert wird.
> 
> damit das hier doch noch mit tar zu tun hat, hier mein L�gsvorschlag:
> Gehe in das cms-Verzeichnis und f�olgendes aus:
> 
> tar -cf ../tmp.tar .
> cd ..
> tar --atime-preserve -m --same-owner -p -xf tmp.tar

Das geht auch auf 1 Zeile:

( cd /..../cms && tar -c ) | ( cd /.../ && tar --atime-preserve
--same-owner -xmp )

SCNR.

Andreas

-- 
Snow Day -- stay home.



Reply to: