Code: Select all
if (<prop CameraModel> == "SAMSUNG PL150 / VLUU PL150 / SAMSUNG TL210 / SAMSUNG PL151") {
//$CameraModel = "test"
//rename b, '<dateexif yyyymmdd.hhnnss>-*¬<prop CameraModel>', p;
rename b, '<dateexif yyyymmdd.hhnnss>-*¬SAMSUNG PL151', p;
}
elseif (<prop CameraModel> == "SM-N9005") {
rename b, '<dateexif yyyymmdd.hhnnss>¬<prop CameraModel>', p;
}
else {
rename b, '<dateexif yyyymmdd.hhnnss>-*¬<prop CameraModel>', p;
}
rename r, "\s{1,100}[.] > ."
Code: Select all
1. If the camera model is "SAMSUNG PL150 / VLUU PL150 / SAMSUNG TL210 / SAMSUNG PL151", then rename the image file to '<dateexif yyyymmdd.hhnnss>-*¬SAMSUNG PL151'
2. If the camera model="SM-N9005", then rename the image file to '<dateexif yyyymmdd.hhnnss>¬<prop CameraModel>'
3. For any other conditions, just rename the file to '<dateexif yyyymmdd.hhnnss>-*¬<prop CameraModel>'
If I select one file one by one, only it works.
Please help.
Thank you.