Rename files under folder structure

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Rename files under folder structure Fri May 29, 2020 6:30 pm • by fmlisboajr
Hi,

I have a folder structure root/YYYY/MM/file.jpg

I would like make a rule to run in all folders/subfolders until get file name and rename this file(photo) to YYYY-MM-DD_file.jpg
i try some tests with run sufolders but not success, some can help me ?
fmlisboajr
 
Posts: 12
Joined: Fri Sep 02, 2016 4:14 pm
Location: Portugal

Re: Rename files under folder structure Mon Jun 01, 2020 11:19 am • by Mr_Noodle
Can you post what you have so far?
Mr_Noodle
Site Admin
 
Posts: 8571
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Rename files under folder structure Mon Jun 01, 2020 12:02 pm • by fmlisboajr
Mr_Noodle wrote:Can you post what you have so far?


First image is that i have
https://prnt.sc/srsn1p

I want all files rename to YYYY-MM-DD_file#nnnnn.jpg where YYYY-MM-DD are date taken picture.

and save in folder structure like above link but in another place.
fmlisboajr
 
Posts: 12
Joined: Fri Sep 02, 2016 4:14 pm
Location: Portugal

Re: Rename files under folder structure Tue Jun 02, 2020 10:20 am • by Mr_Noodle
Can you show me the rules you have so far?
Mr_Noodle
Site Admin
 
Posts: 8571
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Rename files under folder structure Tue Jun 02, 2020 10:26 am • by fmlisboajr
Mr_Noodle wrote:Can you show me the rules you have so far?


https://prnt.sc/sselw6
fmlisboajr
 
Posts: 12
Joined: Fri Sep 02, 2016 4:14 pm
Location: Portugal

Re: Rename files under folder structure Wed Jun 03, 2020 9:58 am • by Mr_Noodle
It looks like you are trying to rename folders, not the files. Please read the chapter in the manual on subfolders very carefully.
Mr_Noodle
Site Admin
 
Posts: 8571
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Rename files under folder structure Wed Jun 03, 2020 10:46 am • by fmlisboajr
Mr_Noodle wrote:It looks like you are trying to rename folders, not the files. Please read the chapter in the manual on subfolders very carefully.


I tried, but i can't understand, do you have a suggestion to write a rule, please ?
fmlisboajr
 
Posts: 12
Joined: Fri Sep 02, 2016 4:14 pm
Location: Portugal

Re: Rename files under folder structure Thu Jun 04, 2020 10:51 am • by Mr_Noodle
You need to split your rules. The chapter in question shows you that combining them into a single rule is incorrect and your rule resembles that. Please read the chapter again with the notion in mind that putting everything into one rule is incorrect.
Mr_Noodle
Site Admin
 
Posts: 8571
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Rename files under folder structure Fri Jun 05, 2020 7:09 pm • by fmlisboajr
Just for others member to consult my solution, and get answer more quick and clear, i don't know if is a better solution, bur works.

1 - https://prnt.sc/sunp1y
2 - https://prnt.sc/sunpbo
3 - https://prnt.sc/sunpkf
4 - https://prnt.sc/sunpt6
5 - https://prnt.sc/sunq1y
fmlisboajr
 
Posts: 12
Joined: Fri Sep 02, 2016 4:14 pm
Location: Portugal


Return to Support