[GRLUG] clean install and date modified

Adam Tauno Williams awilliam at whitemice.org
Sun Sep 23 22:03:33 EDT 2012


On Sun, 2012-09-23 at 20:14 -0400, Eric Beversluis wrote: 
> Is there a way to do a clean install and then restore my home files
> without having the Date Modified on those files change to the date of
> the install? That's what happened to me the last time I did a new Linux
> install.

If you are restoring a tar archive the date modified should be restored
along with the other data.

If you are just doing a copy [cp] then you want
"--preserve=mode,ownership,timestamps" and the copied files will have
the same metadata as the source files.  By default a copy operation onlu
copies the data and generates new metadata on the target.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20120923/eccc59b6/attachment.pgp>


More information about the grlug mailing list