TomT Posted January 9, 2011 Share Posted January 9, 2011 Hi, Sorry I am not too familiar with Linux and need help. 1-When I used this copy command, "cp -r /mnt/tower1/Music/* /mnt/user/Data/Music/", all the files copied into the target folder have the current date and time (when it was copied). Is there anyway to copy files from the unraid console to retain the original date and time of the files? Copying from a remote computer (Windows File Explorer) will retain the file attribute but it will take too long to copy. 2-When I used the "rsync -av --stats --progress /mnt/tower1/Music /mnt/user/Data/" command, I have noticed that it is not copying any new files to the target location. A few instructions on the forum here told to use rsync to move files from one server to another. I was missing files with this command. Maybe this is not the right way? But should use "cp -r" Thanks! Link to comment
BRiT Posted January 9, 2011 Share Posted January 9, 2011 Yes. cp man pages or you can try cp --help for a more up to date help listing. Use the -p option, or --preserve=timestamps . Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.