<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>SheepTech &#187; rename</title> <atom:link href="http://www.sheeptech.com/tag/rename/feed" rel="self" type="application/rss+xml" /><link>http://www.sheeptech.com</link> <description>Discover awesome web apps, freewares, tech tips, tech news and gadget news.</description> <lastBuildDate>Sun, 22 Jan 2012 18:52:22 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Batch Change File Extension</title><link>http://www.sheeptech.com/batch-change-file-extension</link> <comments>http://www.sheeptech.com/batch-change-file-extension#comments</comments> <pubDate>Fri, 16 Jan 2009 16:00:08 +0000</pubDate> <dc:creator>Vincent</dc:creator> <category><![CDATA[Tips & Tutorial]]></category> <category><![CDATA[command line]]></category> <category><![CDATA[ms-dos]]></category> <category><![CDATA[rename]]></category> <category><![CDATA[tips]]></category><guid isPermaLink="false">http://www.sheeptech.com/?p=869</guid> <description><![CDATA[Using the same method as how we batch rename files, we can also change the file extensions of a series of files easily, without the need of any software. All you need is a Notepad or any other text editor. 4 Easy Steps: Step 1 Place all the files that you want to change their [...]<p><small>©2011 <a href="http://www.sheeptech.com/">SheepTech</a></small><br/><br/><a href="http://www.sheeptech.com/batch-change-file-extension">Batch Change File Extension</a></p> ]]></description> <content:encoded><![CDATA[<p><img src="http://www.sheeptech.com/wp-content/uploads/2009/01/change-file-extension.jpg" alt="Change file extension" align="right" />Using the same method as how we <a href="http://www.sheeptech.com/batch-file-rename">batch rename files</a>, we can also change the file extensions of a series of files easily, without the need of any software. All you need is a Notepad or any other text editor.<span id="more-869"></span></p><h3>4 Easy Steps:</h3><p><strong>Step 1</strong><br /> Place all the files that you want to change their file extension in the same folder or directory (make sure they have the same extension, all .png for example).</p><p><strong>Step 2</strong><br /> Open Notepad and type the following command line:</p><p><code>ren *.abc *.def</code></p><p>.abc is the initial file extension, while .def is the file extension you want to change to. Say you want to change the file extensions of a batch of files, from <code>.png</code> to <code>.gif</code>, use:</p><p><code>ren *.png *.gif</code></p><p><img src="http://www.sheeptech.com/wp-content/uploads/2009/01/rename-file-extension.jpg" alt="ren *.png *.gif" /></p><p><strong>Step 3</strong><br /> After entering the command line, save it as <strong>rename.bat</strong> to the same folder or directory where the files you wanted to change their file extension is located. Make sure you select “All Files” in the “Save as type”, instead of “Text Documents (*.txt)“.</p><p><img src="http://www.sheeptech.com/wp-content/uploads/2009/01/rename-bat.jpg" alt="Save as rename.bat" /></p><p><strong>Step 4</strong><br /> Run (double-click) the rename.bat you&#8217;ve saved in Step 3. Voila!</p><p>— — — — — —</p><p>Using this method to change file extensions will really only change the file extension/file format/file type. It is purely renaming the file extension, not converting the file type.</p><p><em>Note: The number of character of the file extension must be the same before and after rename. But since most of the file extensions are of 3 characters (jpg, png, gif etc.), most probably there shouldn&#8217;t be a problem.</em></p><p><small>(<em><a href="http://bhound89.deviantart.com/art/Phat-File-Type-Icons-13060370">image source</a></em>)</small></p><p><small>©2011 <a href="http://www.sheeptech.com/">SheepTech</a></small><br/><br/><a href="http://www.sheeptech.com/batch-change-file-extension">Batch Change File Extension</a></p> ]]></content:encoded> <wfw:commentRss>http://www.sheeptech.com/batch-change-file-extension/feed</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Batch File Rename Without Using Software</title><link>http://www.sheeptech.com/batch-file-rename</link> <comments>http://www.sheeptech.com/batch-file-rename#comments</comments> <pubDate>Mon, 12 Jan 2009 16:01:52 +0000</pubDate> <dc:creator>Vincent</dc:creator> <category><![CDATA[Tips & Tutorial]]></category> <category><![CDATA[command line]]></category> <category><![CDATA[ms-dos]]></category> <category><![CDATA[rename]]></category> <category><![CDATA[tips]]></category><guid isPermaLink="false">http://www.sheeptech.com/?p=720</guid> <description><![CDATA[I am not a fan of installing new softwares for every single task I want to perform on my computer. There are many softwares, both free and commercial, that will do batch or bulk files renaming, but the fact is, all you need is just a notepad (on Windows). The only downside of this method [...]<p><small>©2011 <a href="http://www.sheeptech.com/">SheepTech</a></small><br/><br/><a href="http://www.sheeptech.com/batch-file-rename">Batch File Rename Without Using Software</a></p> ]]></description> <content:encoded><![CDATA[<p>I am not a fan of installing new softwares for every single task I want to perform on my computer. There are many softwares, both free and commercial, that will do batch or bulk files renaming, but the fact is, <strong>all you need is just a notepad</strong> (on Windows).</p><p>The only downside of this method of batch renaming files is that the number of characters of your file name must be exactly the same, before and after renaming. Meaning if you want to rename abc01.jpg, your new file name must be exactly of 5 characters. If you prefer otherwise, refer to <a href="#rename-no-character">this method</a>.<br /> <span id="more-720"></span><br /> In this example, I&#8217;ll show you how I rename my emoticons set from <code>icon_something.gif</code> to <code>logo_something.gif</code>:</p><p><strong>1. Place the series of files you want to rename in a folder</strong></p><p><img src="http://www.sheeptech.com/wp-content/uploads/2009/01/emo-icon.jpg" alt="Emoticons - icon_something" /></p><p><strong>2. Open Notepad, type the following: <code><strong>ren icon_*.gif logo_*.gif</strong></code></strong></p><p><img src="http://www.sheeptech.com/wp-content/uploads/2009/01/ren-notepad.jpg" alt="Type in Notepad" /></p><p><em>ren</em> stands for rename, while the first file name is before renaming, and the second file name is what you want them to be renamed to.</p><p>The asterisk (*) acts as a wild card, meaning it can be anything. Denoting an asterisk in the command line above meaning the particular part of the file name can be anything and no need to be renamed.</p><p>In this case, I want to rename all my emoticons, from <em>icon_biggrin</em> to <em>logo_biggrin</em>, from <em>icon_confused</em> to <em>logo_confused</em>.</p><p>For <code><strong>ren icon_*.gif logo_*.gif</strong></code>, it simply means rename all files in the folder that has an initial file name of icon_(anything).gif to logo_(anything).gif<br /> <strong><br /> 3. After typing <code><strong>ren icon_*.gif logo_*.gif</strong></code> in the Notepad, save it as <code>rename.bat</code> to the folder where the files you want to rename is located.</strong></p><p><img src="http://www.sheeptech.com/wp-content/uploads/2009/01/rename-bat.jpg" alt="Rename.bat" /></p><p>In fact, you can name the file as anything you like, but it must end with a <strong>.bat</strong> extension. Make sure you select &#8220;<em>All Files</em>&#8221; in the &#8220;Save as type&#8221;, instead of &#8220;<em>Text Documents (*.txt)</em>&#8220;.</p><p><strong>4. Double-click/Open the .bat file you have just saved.</strong></p><p><img src="http://www.sheeptech.com/wp-content/uploads/2009/01/rename-bat-open.jpg" alt="Open rename.bat" /></p><p><strong>5. Voila, it&#8217;s done. All my emoticons are now by the file name of logo_(anything).gif</strong></p><p><img src="http://www.sheeptech.com/wp-content/uploads/2009/01/logo_something.jpg" alt="logo_(anything)" /></p><h3>How it actually works?</h3><p>All the command line would do is replacing each character of the file name to a new one which you&#8217;ve specified. It cannot add a new character or deduct a character. In short, you can only use this to rename your files to a new name with the same amount of character.</p><p>It&#8217;s all about playing around with the wild card (*). Depending on how you want to rename your batch of files, you would manipulate the command line in Step 2. Here&#8217;s are 2 examples that may help you to understand better:</p><p><strong>Situation 1</strong><br /> Rename DSC001.jpg, DSC002.jpg, DSC003.jpg to ESC001.jpg, ESC002.jpg, ESC003.jpg</p><p>Command line to use: <code>ren DSC00*.txt ESC00*.txt</code></p><p><strong>Situation 2</strong><br /> Rename DSC001.jpg, DSC002.jpg, DSC003.jpg to john01.jpg, john02.jpg, john03.jpg</p><p>Command line to use: <code>ren DSC0*.jpg john*.jpg</code><br /> <a name="rename-no-character"></a></p><h3>Batch renaming without considering the amount of character</h3><p>If you prefer to batch rename a series of files to any name you desire, without considering the number of character of the previous file name:<ol><li>Highlight or Select all the files you want to rename.</li><li>Press F2 or right-click any of them and select &#8220;<em>Rename</em>&#8220;.</li><li>Type the new file name you desire and press &#8220;Enter&#8221;.</li><li>Voila!</li></ol><p>Using this method, your new file names will be numbered. Say you rename 3 files with different names to awesome-pic, your output file names would be awesome-pic, awesome-pic(2) and awesome-pic(3).</p><p><small>©2011 <a href="http://www.sheeptech.com/">SheepTech</a></small><br/><br/><a href="http://www.sheeptech.com/batch-file-rename">Batch File Rename Without Using Software</a></p> ]]></content:encoded> <wfw:commentRss>http://www.sheeptech.com/batch-file-rename/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)

Served from: www.sheeptech.com @ 2012-02-09 07:16:18 -->
