Fixes #17770 - Preserve timestamps for collected files.
Uses `touch -r` to use the source file/dir as a reference andreplicate timestamps over to the file collected insideforeman-debug archive.
(cherry picked from commit c0e6e3d686919cd0e33c3c8decc93dd39e5632e0)
Fixes #17770 - Preserve timestamps for collected files.
Uses `touch -r` to use the source file/dir as a reference and
replicate timestamps over to the file collected inside
foreman-debug archive.
(cherry picked from commit c0e6e3d686919cd0e33c3c8decc93dd39e5632e0)