Hi,
Tried to copy a folder to external drive for backup:
- Copy using Finder preserves the creation and modification date.
- Copy using terminal "cp -r" or "cp -a" changes creation date and modification date to today.
- Copy using terminal "rsync -avP" or "rsync -avPHE" changes modification date to today.
Is there a console command that is identical to Finder copy that preserves both creation date and modification date?
Tried to copy a folder to external drive for backup:
- Copy using Finder preserves the creation and modification date.
- Copy using terminal "cp -r" or "cp -a" changes creation date and modification date to today.
- Copy using terminal "rsync -avP" or "rsync -avPHE" changes modification date to today.
Is there a console command that is identical to Finder copy that preserves both creation date and modification date?