Monday, March 16, 2015

Renaming files in Windows

Sometimes the small things are the most helpful. I needed to rename a couple dozen jpg files to "...small.jpg". Through the joys of Internet searching, I pretty quickly came to a solution from http://www.howtogeek.com/111859/how-to-batch-rename-files-in-windows-4-ways-to-rename-multiple-files/ using Windows PowerShell. So with a quick:

PS > dir | Rename-Item -NewName {$_.name -replace ".jpg","Small.jpg"}

FirstPicture.jpg became FirstPictureSmall.jpg. I hadn't installed The Gimp yet on this laptop, but I found through a YouTube video (http://www.youtube.com/watch?v=19GbI6oFrW0) that you can use Right Click > Send To > Mail Recipient, and Outlook (assuming it's installed) will offer to change the size for you.

No comments:

Post a Comment