Tom's Guide | Tom's Hardware | Tom's Games | PC Safety Suite
![]() |
![]() |
![]() |
Comment:
I have two identical directory trees on two different drives, lets say /mnt/olddrive and /mnt/newdrive. After the VERY long copy operation to get all the files off of the old drive I discovered that I did not preserve the time stamps. I would like to update the time stamps on the new drive with the time stamps of the older files without re-copying .. but am thus far not being successful.
I tried:
cp -dru --preserve=timestamps '/mnt/NwkDrv/Archive/' '/mnt/Addonics1TB/'
That Sort of worked .. but only for directories, not for files.
I even went so far as to write a shell script to touch each file. But it never updates the time stamp.
touch -c --reference=/mnt/NwkDrv/MultMeda/News/2-be056-ada-vid.zip /mnt/Addonics1TB/MultMeda/News/2-be056-ada-vid.zip
The command Executes just fine, produces no error, but the Time and Date on the target never changes.
Any Suggestions?
Bruce
![]() |
software install on linux...
|
kernal panic problem
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.