Re: [SLE] preserving files' creation time
- From: Randall R Schulz <rschulz@xxxxxxxxx>
- Date: Wed, 25 Jan 2006 12:31:48 -0800
Ken, Istvan,
On Wednesday 25 January 2006 11:45, ken wrote:
> ...
>
> This might be what you want:
>
> mv file.conf file.conf.orig; cp file.conf.orig file.conf
>
> ("mv" doesn't change the date of the file, but "cp" does, hence the
> "original" date will be preserved.)
Mv will change the ctime, since the link count changes transiently
during the move.
Cp can be told to preserve times. Check the options via --help or the
man page.
> hth,
> ken
Randall Schulz
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- References:
- RE: [SLE] preserving files' creation time
- From: Greg Wallace
- Re: [SLE] preserving files' creation time
- From: Randall R Schulz
- Re: [SLE] preserving files' creation time
- From: ken
- RE: [SLE] preserving files' creation time
- Prev by Date: Re: [SLE] SuSE 9.3 professional and Epson Stylus C45 (usb) printer
- Next by Date: Re: [SLE] intel ich7
- Previous by thread: Re: [SLE] preserving files' creation time
- Next by thread: Re: [SLE] preserving files' creation time
- Index(es):
Relevant Pages
|