On Tuesday 25 March 2008 12:28, Boyd Lynn Gerber wrote:
...
I do not mind the timestamp changing on the directory the files are moved into, but to change the timestamp on all directories of the moved directory and below should not change. After all, all I want is to move the directory to a different directory.
Because every directory contains a link to its parent ("..") and because links reference their targets by their inode number, if you move a directory across file systems, then all those ".." links have to be recreated. In fact, moving a directory across file system requires a recursive copy. If you're relocating directory hierarchies in bulk across file system boundaries, use "cp." It has the flexible "--preserve=" option that allows you to control exactly how much of the original files' metadata is copied along with the file's contents.
...
-- Boyd Gerber
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org