How to Rename a List of Files Based on Clipboard?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

How to Rename a List of Files Based on Clipboard?

Post by SkyFrontier »

Hi all!
I finally quit. I'm trying to recall where I found this script, and completely failed. That was a script for renaming, picking up a list from the clipboard and applying it to the selected files. Can anyone help, please...?
Thanks in advance!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...


SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: How to Rename a List of Files Based on Clipboard?

Post by SkyFrontier »

It was slightly more simple, Stefan. It preserves the file extensions intact and has no need to switch recursion off [meaning one need to OK after each renamed files from the list... =( ] - just select target files, read clipboard (previously filled with the correct info) and get the job done.
I was already dealing with the given link but... I know that it was done in more easier way.
But... thanks for trying!

EDIT: the second code of the link pointed by Stefan did the work partially - it hasn't preserved file extensions (names on clipboard has no extensions, but XYplorer could ignore that), ignored files ending with "<" (therefore not renaming them) but has no recursion check, despite not mentioning that in the code itself... as long as I can interpret it. =)
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply