
27 Mar
2025
27 Mar
'25
14:54
Ianseeks wrote:
Hi
I've got a thumb drive of data from rescuing files off my partners Windows laptop after a crash. After copying, the files assumes the date/time of the copy.
Is there a way using a bash command (or script) I can "touch" each file in each folder with its last modification date/time? This will help me rebuild after converting the laptop to linux.
Not sure what you're after. How was the thumb drive created? Using rsync or something? I.e., do the files on the thumb drive have proper modification dates? If not, I think you're out of luck. If yes, use rsync, or cp --archive