5
votes
1answer
5k views

How to mv a folder in Linux retaining its mtime?

I am using CentOS 5.5 and would like to move a large amount of folders within one volume, retaining their mtime. The best solution I could find is like this: cp -p -r source/data target/ rm -rf ...