When copying a file from flash drive to macOS file system, the file creation date remains the same as the original file.
If it is on Windows, the file creation date of a new file when copying a file and pasting it will not be same as the original file, but will have the current date time instead.
Why is the behavior different between OS? Is this due to the different specification in NTFS and HFS file system?
-R, but no-r. Did you install GNU coreutils? What doescp --versionreport? – muru Jan 16 '18 at 08:57$ cp usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directoryno-r– mmmmmm Jan 16 '18 at 10:37Historic versions of the cp utility had a -r option. This implementation supports that option; however, its use is strongly discouraged, as it does not correctly copy special files, symbolic links, or fifo's.– Mateusz Szlosek Jan 16 '18 at 10:40-astops preserving the file attributes, and adding-R(recursive) makes it work with folders. – Kal Feb 01 '21 at 01:23