Thank you so much admin.. I really appreciate it.admin wrote:You softened my heart. Next version can do this:Code: Select all
rename b, '*-<prop CameraModel>', p;
I hope that can also be made useful for other file property especially the EXIF info.
Or may I suggest that Batch Rename should be made flexible by user defined variable?
For example in this case, let's say I've set $CamModel as this:
Code: Select all
//read property from actual file:
$CamMod = property("CameraModel", $file);
//trim space and tabs around the reported property:
$CamMod = regexreplace($CamMod, "\s*|\t*(.*)\s*|\t*", "$1");
Code: Select all
rename b, '*_$CamMod', p;Anyway, at the moment all I need is
Code: Select all
rename b, '*-<prop CameraModel>', p;
XYplorer Beta Club