3 ms·
Most copy programs do not preserve much or all metadata by default because this was the original behavior of the UNIX cp command, which copied only the file dat
by adrian_b 3y ago
Most copy programs do not preserve much or all metadata by default because this was the original behavior of the UNIX cp command, which copied only the file data, but none of the metadata, except the file name, when it was not specified for the destination.
The first time when I have used cp, more than thirty years ago, it was a shock for me to discover that this is the default behavior, because it is not something that I can associate with a command named "copy".
Since that day and until today, I always alias the various copy commands like cp or rsync to include all the necessary options for making perfect copies.
I have never needed to use them with different options, which would make imperfect copies, but there have been countless situations when my usage would have been broken by lossy copies.