I am renaming my files according to the Script from this thread here:
viewtopic.php?f=4&t=454
It takes the date from the filename and modifies the timestamp.
- Code: Select all
$date = regexreplace("<curbase>", ".+_(\d{4})(\d{2})(\d{2})_.+", "$1-$2-$3");
$time = regexreplace("<curbase>", ".+_.+_(\d{2})(\d{2})(\d{2})", "$1:$2:$3");
timestamp c, $date $time;
This works perfect for me but I do not want to start the command for every of my files by hand.
If I mark all the files I want to rename I end up with every file being timestamped by the first one.
I just want that the scripts reads every filename as a new one after finishing timestamping one file.
Could you modify the script above?
Best,
McRacoon
Edit: this probably got into the wrong section and should be moved, sorry.