Tuesday, November 12, 2019

batch rename - Replace duplicate words in filenames

I have files with filenames such as this:


かな_かな


I'd like to replace that with just:


かな


Is there any way to do this in batch, automatically?


Note that some files have different words before and after the underscore so I can't just strip the first part of the filename.


(PowerShell, Terminal, or any free 3rd party tool is fine...)

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...