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

Re: tar copying problems for "/" to "/mnt"



In article <[🔎] 20010916130829.A651@amnesiac> you write:

>cd /; tar cf - / | (cd /mnt; tar xf - )
>
>this works fine but i get this timestamp messages:
>
>tar: Archive contains future timestamp 2001-09-16 20:33:45

One problem with this command is it will copy /mnt to /mnt/mnt to
/mnt/mnt/mnt ....

The -l option is one way to avoid this problem.  (It may even be
why you get the timestamp error -- the modified time of /mnt will be
after the tar started.)

-- 
Blars Blarson 					blarson@blars.org
				http://www.blars.org/blars.html
"Text is a way we cheat time." -- Patrick Nielsen Hayden



Reply to: