Camera Bits Forums
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to Camera Bits Forums
Home
Help
Search
Calendar
Login
Register
Camera Bits Forums
»
Photo Mechanic
»
Support
»
File renaming
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: File renaming (Read 1538 times)
Eric
Sr. Member
Posts: 264
File renaming
«
on:
August 18, 2023, 06:36:14 AM »
I know it's in the manual, I just can't find it. I need to rename folders of files to cut off the first 4 characters and keep the rest. For example, I need to change _DSC1234.jpg to 1234.jpg Can someone help with the command?
Logged
Sven
Uber Member
Posts: 1053
Re: File renaming
«
Reply #1 on:
August 18, 2023, 07:28:07 AM »
it's easy: {filenamebase:4}
This will cut off the 1st four characters.
{filenamebase:-3} will keep the last 3 characters.
Logged
After 5 years of absence I restarted the photography.
ahoward
Camera Bits Staff
Hero Member
Posts: 973
Re: File renaming
«
Reply #2 on:
August 18, 2023, 09:38:27 AM »
Variable substring extraction
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Camera Bits Forums
»
Photo Mechanic
»
Support
»
File renaming