0

Time Travel Using the Touch Command - On Files - But How?

I'm trying to change the time at which I created the files in the file managers. How does it work?

6th Jan 2024, 10:50 PM
Pikachu
Pikachu - avatar
2 odpowiedzi
+ 2
Celebi✅️ the touch command has a few switches that might be useful. -r copy timestamps from one fille to another -d use a specified date -t similar to -d but only recognizes a rigid date/time format Here is a reference: https://www.man7.org/linux/man-pages/man1/touch.1.html
7th Jan 2024, 1:05 AM
Brian
Brian - avatar
0
The touch command in Unix-based systems can be a form of "time travel" for files by modifying their timestamps. When you run touch filename, it updates the file's access and modification times to the current time. You can also set past or future timestamps using touch -t YYYYMMDDHHMM filename. It doesn’t change file contents but can be useful for scripting or version control. Have you ever used touch creatively? https://fuerteventura-hotels.com/club-jandia-princess/ Fuerteventura Reise
15th Feb 2025, 6:21 PM
Mevish Jabeen
Mevish Jabeen - avatar