Goal: synch a large number of large files (filesize>500MB) from one NAS (WD Mycloud) to another. rysnc is available on both. Both are connected via a Gigabit switch. NAS files can be moved with Windows Explorer at 40+MB/s, however the file metadata (dates) are changed to the current date. rsync runs at ~10-12MB/s.
If the files were copied with Windows Explorer (for speed) the data's creation date would reflect today's date. Could the file date creation and other related file meta-data be restored with a specific rsync option to match the source files?
Update: I have been advised by @RomeoNinov to update this question: An attempt to use rsync was half-successful and restored the dates of files, but not the folders.
rsync -ax --size-only --progress [email protected]:/shares/Public/Drivers /shares/Public
I was advised that adding -v to the statement and this link would help explain why it was not changed. My attempt to decode was not successful.
The request is for a command line example (similar to above) that will sync the files and folder meta-data. Looking forward to clever responses and a good narrative.