{"id":417,"date":"2008-10-07T11:57:51","date_gmt":"2008-10-07T16:57:51","guid":{"rendered":"http:\/\/www.wwco.com\/~wls\/blog\/?p=417"},"modified":"2008-10-07T11:57:51","modified_gmt":"2008-10-07T16:57:51","slug":"clever-bulk-rename-trick-in-windows","status":"publish","type":"post","link":"https:\/\/wls.wwco.com\/blog\/2008\/10\/07\/clever-bulk-rename-trick-in-windows\/","title":{"rendered":"Clever Bulk Rename Trick in Windows"},"content":{"rendered":"<p>Ever want to rename a bunch of files to the same prefix, but have an incremental count after them?<\/p>\n<p>From Explorer, select all the files that you want to bulk rename, right click, and select Rename.<\/p>\n<p>While all of the files will be selected, only one is editable.  Give the file a name, let&#8217;s pretend for the sake of discussion you typed ABC.jpg.<\/p>\n<p>All of the rest of the files will be renamed ABC&nbsp;(1).jpg through ABC&nbsp;(n).jpg, where &#8216;n&#8217; is the number of files minus one, since the first one doesn&#8217;t get a number.<\/p>\n<p>Knowing this, you can do some clever stuff.  Create one bogus file renamed to ZZZZZZZZ.TXT at the end of your list; select all the files, and bulk rename them as shown above.  Then delete the bogus file, it should be the only one without a number, and you&#8217;ve just made a sequence of files.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Stumbled into a clever way to rename a bunch of files to have the same prefix and a sequential numbered suffix&#8230; from the Windows GUI no less.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65,67,79,99,106,112],"tags":[258,428,496,801,802,1007,1008,1009,1012,1023],"class_list":["post-417","post","type-post","status-publish","format-standard","hentry","category-hack","category-how-to","category-operating-systems","category-trick","category-windows","category-xp","tag-bulk","tag-explorer","tag-gui","tag-ren","tag-rename","tag-win","tag-win32","tag-win64","tag-windows","tag-xp"],"_links":{"self":[{"href":"https:\/\/wls.wwco.com\/blog\/wp-json\/wp\/v2\/posts\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wls.wwco.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wls.wwco.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wls.wwco.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wls.wwco.com\/blog\/wp-json\/wp\/v2\/comments?post=417"}],"version-history":[{"count":0,"href":"https:\/\/wls.wwco.com\/blog\/wp-json\/wp\/v2\/posts\/417\/revisions"}],"wp:attachment":[{"href":"https:\/\/wls.wwco.com\/blog\/wp-json\/wp\/v2\/media?parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wls.wwco.com\/blog\/wp-json\/wp\/v2\/categories?post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wls.wwco.com\/blog\/wp-json\/wp\/v2\/tags?post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}