by Luuk » Thu Jun 17, 2021 6:48 pm
Greetings Ryan. All of the other features are free, but its just javascript that needs the paid version to conduct renames.
The free users can still experiment with the javascript, but its just for presenting previews under the "New Name" column.
So you could still type something like this into the javascript window...
if (/^\d{4}-\d\d-\d{4}_\d\d_\d\d\.\d+/.test(name)) {
x = new Date(Date.parse(name.replace(/^(\d{4})-(\d\d)-(\d\d)(\d\d).*/, '$1,$2,$3,$4')));
function decrease() {x.setHours(x.getHours()-5); return x};
y = decrease(x);
month = ('0'+(y.getMonth()+1)).replace(/^0(\d\d)$/,'$1');
day = ('0'+(y.getDate())).replace(/^0(\d\d)$/,'$1');
hr = ('0'+(y.getHours())).replace(/^0(\d\d)$/,'$1');
newName = y.getFullYear()+'-'+month+'-'+day+hr+name.substr(12) }
And it presents how decreasing the hours by 5, could also modify the dates like...
2021-01-0101_21_58.050377-text.jpg ====> 2020-12-3120_21_58.050377-text.jpg
2021-06-1413_21_58.050377-text.jpg ====> 2021-06-1408_21_58.050377-text.jpg
2021-06-1423_21_58.050377-text.jpg ====> 2021-06-1418_21_58.050377-text.jpg
But then clicking "Rename" would not conduct the renames, without having the paid version ahead of time.