Renaming A Bunch Of Files At The Same Time

5:53
 
Share
 

Manage episode 220686561 series 2107126
By Discovered by Player FM and our community — copyright is owned by the publisher, not Player FM, and audio streamed directly from their servers.
I had to strip off the first part of a bunch of file names. You can do this inside of Windows Powershell, using this simple script: get-childitem *.dat | rename-item -newname { [string]($._name).substring(9) } The file extension and the numeric value are variable based on your needs. WARNING: THIS WILL AFFECT EVERY FILE IN YOUR CHOSEN DIRECTORY, so move all the files that you need to rename to their own folder. And, it can't be redone, so make a backup beforehand, and make sure you're in the correct folder before you execute.

99 episodes available. A new episode about every 3 days averaging 6 mins duration .