Apply Script to multiple files

Would you like Bulk Rename Command to offer new functionality? Post your comments here!

Apply Script to multiple files

Postby McRacoon » Mon Apr 11, 2016 9:28 am


I am renaming my files according to the Script from this thread here:

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?


Edit: this probably got into the wrong section and should be moved, sorry.
Posts: 1
Joined: Mon Apr 11, 2016 9:22 am

Re: Apply Script to multiple files

Postby Illark » Thu Jul 28, 2016 8:49 am

Hi MCRacoon, can you post the modified script if you have it? Thanks.
Posts: 1
Joined: Sat Jul 23, 2016 7:09 pm

Return to Suggestions