Renaming A Bunch Of Files At The Same Time
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...
6 Minuten
Podcast
Podcaster
In my daily life of web designer, IT manager, database developer, Excel specialist, application programmer, server administrator, person with a modern phone, and internet user I come across some puzzling situations. Here you can hear me work through.....
Beschreibung
vor 7 Jahren
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.
Become a supporter of this podcast:
https://www.spreaker.com/podcast/random-tech-thoughts--2829929/support.
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.
Become a supporter of this podcast:
https://www.spreaker.com/podcast/random-tech-thoughts--2829929/support.
Weitere Episoden
3 Minuten
vor 4 Jahren
5 Minuten
vor 4 Jahren
3 Minuten
vor 5 Jahren
3 Minuten
vor 5 Jahren
5 Minuten
vor 5 Jahren
In Podcasts werben
Kommentare (0)