
On 2025-03-27 14:47, Axel Braun wrote:
Am Donnerstag, 27. März 2025, 14:04:51 Mitteleuropäische Normalzeit schrieb Manfred Hollstein:
Moin,
On Thu, 27 Mar 2025, 13:59:07 +0100, 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.
$ find /where/your/files/are/located -print0 | xargs -0 -r touch -hm
Tried this in a folder, and it moves date/time actually to now.
Is that desired?
Just change the options to "touch". -d, --date=STRING parse STRING and use it instead of current time -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar)