RMD: File timestamp changer
RMD: File timestamp changer
Any recommends for a program that can change ALL the files and subfolders (and files within the subfolders) to a particular time and date? Preferably not command line driven... but hey if it's easy doing it that method then suggest away.
Lie with passion and be forever damned...
Xbox: Mayhem64
Xbox: Mayhem64
- hairy_pete
- Baaaaaaa!

- Posts: 7217
- Joined: Mon May 27, 2002 8:10 pm 0
- Location: A Tiny Village in Bavaria
Re: RMD: File timestamp changer
The 'touch' command may be your weapon of choice.
Re: RMD: File timestamp changer
Indeed.
Code: Select all
find ~/directory/i/want/to/change \( -type f -or -type d \) -exec touch -t 19991231120000 {} \;"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
- Dungeon-Dave
- Baaaaaa!

- Posts: 3925
- Joined: Thu Aug 04, 2005 12:01 pm 0
- Location: UK
- Contact:
Re: RMD: File timestamp changer
Perl can also modify timestamps, AFAIK.
What OS/filesystem are you wanting to do this under?
What OS/filesystem are you wanting to do this under?
Re: RMD: File timestamp changer
Guess I should have said, it's all Windows XP.
Lie with passion and be forever damned...
Xbox: Mayhem64
Xbox: Mayhem64
- Dungeon-Dave
- Baaaaaa!

- Posts: 3925
- Joined: Thu Aug 04, 2005 12:01 pm 0
- Location: UK
- Contact:
Re: RMD: File timestamp changer
Perl's ye man, then: http://www.perlmonks.org/?node_id=809
If you're stuck, download & install ActivePerl first, then I'll meet you over in the programming forum.
If you're stuck, download & install ActivePerl first, then I'll meet you over in the programming forum.
Re: RMD: File timestamp changer
That looks exactly what I need... just click all the files I want to change and hit change! I'll give it a whirl 
Lie with passion and be forever damned...
Xbox: Mayhem64
Xbox: Mayhem64

