Renaming A Bunch Of Files At The Same Time

7 nov 2018 · 5 min. 52 sec.
Renaming A Bunch Of Files At The Same Time
Descrizione

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...

mostra di più
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.
mostra meno
Informazioni
Autore Kyle Souza
Sito -
Tag

Sembra che non tu non abbia alcun episodio attivo

Sfoglia il catalogo di Spreaker per scoprire nuovi contenuti

Corrente

Copertina del podcast

Sembra che non ci sia nessun episodio nella tua coda

Sfoglia il catalogo di Spreaker per scoprire nuovi contenuti

Successivo

Copertina dell'episodio Copertina dell'episodio

Che silenzio che c’è...

È tempo di scoprire nuovi episodi!

Scopri
La tua Libreria
Cerca