Preserving target file's creation date
Thomas Mueller
mueller6722 at twc.com
Tue Sep 29 11:12:00 UTC 2020
> I am trying to copy/move one file onto another. I need to preserve the
> creation date of the target file. I see options to preserve the
> creation date of the source file, but not the target file. Is it
> possible?
> Thanks!
> Jerry
I have had to do that on various occasions: see man cp
Use cp -p <source-file> <target-file or directory>
Tom
More information about the freebsd-questions
mailing list