Re: how to use tar
Hi David,
* On Sun, Jan 18, 2004 at 12:35:15PM -0500 David Yitzchak Cohen wrote:
> The basic idea is to stat(2) the file and store its atime and mtime.
> Then, you do whatever you want (which may modify the atime and/or mtime),
> and then utime(2) to restore the atime and/or mtime from memory.
Ah, yes. Anyway, I thought about a solution for a shell skript like
this:
> Another cool little option for a shell script is:
> touch -r $file $file.atime
This is a very good idea!
Thank you,
Spiro.
--
Spiro R. Trikaliotis
http://www.trikaliotis.net/