Digital Dominion
Harnessing Technology. My thoughts on IT, Software Development, Networking and Information Security.
Sunday, December 2, 2012
Automating part of a task
I've just read a new post from Bartek Bielawski from the Hey Scripting Guy blog on partially automating tasks. I totally agree with at least starting to automate the process. You'll need to start somewhere and having a production script doing work is a step in the right direction. We can always revise the script as needed in most cases.
Tuesday, May 15, 2012
Rename multiple files from one type to another
Here's the command that will rename multiple csv files to txt files.
get-childitem *.csv | foreach { rename-item $_ $_.Name.Replace(".csv", ".txt") }
get-childitem *.csv | foreach { rename-item $_ $_.Name.Replace(".csv", ".txt") }
Subscribe to:
Posts (Atom)