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

Hi,

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.
McRacoon
 
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.
Illark
 
Posts: 1
Joined: Sat Jul 23, 2016 7:09 pm


Return to Suggestions


cron