Re: mv changes timestamp

[email protected] (Bob Proulx)
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
Francesco Tarantelli <[email protected]> [2002-11-21 12:45:46 +0100]:
> mv from fileutils-4.1.tar.gz, recompiled con RedHat Linux 7.3 (intel)
> (as well as the one distributed in fileutils-4.1-10.i386.rpm)
> changes the timestamp of directories when moving them. Is this the 
> intended behavior?

That depends upon many things.  Specific examples are needed to say
for sure.

If the contents of the directory are changed then the timestamp of the
directory is updated.  That is a function of the underlying filesystem
which is part of the operating system.

If the contents of the directory did not change then the timestamp of
the directory is not updated.

Bob

-- 
Please follow up to the list and not to me privately unless it is
personal.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.