Using parent directory in batch rename

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
o7blue
Posts: 116
Joined: 22 Dec 2020 07:10

Using parent directory in batch rename

Post by o7blue »

I was wondering if it's possible to use the name of the parent directory when batch renaming items. Something like this:
Capture.PNG
Capture.PNG (7.73 KiB) Viewed 1731 times
For example if a folder /pictures/2025-01-01/ contains file1.jpg and file2.jpg, I'd end up with 2025-01-01_01.jpg and 2025-01-01_02.jpg

highend
Posts: 14431
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Using parent directory in batch rename

Post by highend »

<folder> and ofc that's mentioned in the help file...
One of my scripts helped you out? Please donate via Paypal

o7blue
Posts: 116
Joined: 22 Dec 2020 07:10

Re: Using parent directory in batch rename

Post by o7blue »

Thank you highend! There's a bunch more info in the special rename help section, thanks for pointing that out as well.

Post Reply