{"id":1042,"date":"2021-07-29T13:40:23","date_gmt":"2021-07-29T13:40:23","guid":{"rendered":"http:\/\/pictureecho.com\/blog\/?p=1042"},"modified":"2025-11-24T10:42:30","modified_gmt":"2025-11-24T10:42:30","slug":"recursively-rename-all-files-inside-subfolders","status":"publish","type":"post","link":"https:\/\/pictureecho.com\/blog\/recursively-rename-all-files-inside-subfolders\/","title":{"rendered":"Recursively Rename All Files Inside Subfolders"},"content":{"rendered":"\n<p>If you have ever encountered a situation where you need to rename all files inside multiple subfolders, you may have probably wondered if there are better ways to quickly accomplish it without much hassle.<br><\/p>\n\n\n\n<p>Manually renaming all the files could take a long time. It is not even an option if you\u2019ve got hundreds of thousands of files that have to be renamed.<br><\/p>\n\n\n<blockquote class=\"wp-block-quote\">\n<p>Manually renaming files can be difficult. Try Easy File Renamer to bulk rename files and folders on PC, Google Drive, Dropbox and OneDrive.<\/p>\n<p><a href=\"https:\/\/www.easyfilerenamer.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" aria-label=\"Get Easy File Renamer and Enjoy 10+ Renaming Rules  (opens in a new tab)\">Get Easy File Renamer and Enjoy 10+ Renaming Rules <\/a><\/p>\n<\/blockquote>\n\n\n<!--more-->\n\n\n\n<p><strong>Add New Text to File Names<\/strong><\/p>\n\n\n\n<p>Using the command given below, we\u2019ll add a new text \u2018birthday-party\u2019 to all the JPG photos in a folder.<br><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Type CMD in the Search Box on the taskbar.<\/li><li>Right-click Command Prompt and select Run as Administrator.<\/li><li>Type the following command to change the active directory to the folder containing your files.<\/li><\/ol>\n\n\n\n<p>Syntax:<\/p>\n\n\n\n<p>ren *.&lt;Extension&gt; ???-&lt;New Text&gt;<br><\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>ren *.jpg ???-birthday-party<br><\/p>\n\n\n\n<p><strong>Replace Text in File Names with Specific Extensions<\/strong><\/p>\n\n\n\n<p>Similarly, you can change specific text from the file names. You may apply this rule to specific file extensions only, instead of all files.<br><\/p>\n\n\n\n<p>Open Command Prompt and change the active directory to your desired one.<\/p>\n\n\n\n<p>Use the following command:<br><\/p>\n\n\n\n<p>Syntax:<\/p>\n\n\n\n<p>ren &lt;Text to replace&gt;*.&lt;Extension&gt; &lt;New text&gt;*.&lt;Extension&gt;<br><\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>ren birthday_2021*.png bday_21*.png<br><\/p>\n\n\n\n<p><strong>Replace Text in All File Names<\/strong><\/p>\n\n\n\n<p>To change the text in all files, instead of specific ones, use the following command:<br><\/p>\n\n\n\n<p>Syntax:<\/p>\n\n\n\n<p>ren &lt;Text to replace&gt;*.* &lt;New text&gt;*.*<br><\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>ren birthday_2021*.* bday_21*.*<br><\/p>\n\n\n\n<p><strong>Using a Specialized Software (Recommended)<\/strong><\/p>\n\n\n\n<p>A specialized software Easy File Renamer gives you complete control over file renaming. Using EFR, you can recursively rename files from all sub-folders at once without any repetitions. Using a specialized software tool is the safest option. It\u2019s fast, easy and secure.<br><\/p>\n\n\n\n<p>Renaming rules available:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>New Name: Use this rule to specify a complete new name for your files.<\/li><li>Remove Text: Use this option to remove specific characters from your file names. Easy File Renamer gives you the flexibility to remove all instances of the text found, or only first and last instances.<\/li><li>Replace Text: Use this option to find specific characters in your file names and replace them with another. Like the Remove Text rule, you can either replace all instances of the text found, or only first or last instances.<\/li><li>Trim Text: Trim text allows you to remove the first few or last few characters from your file names. Just enter the number of characters you want to remove and their location (from the beginning or end).<\/li><li>Prefix: You may insert text at the beginning of your file names using the Prefix option. You can insert a prefix at the beginning of your file names or file extensions, depending on your requirement.<\/li><li>Suffix: Select this option to add text at the end of the file name or at the end of the file extension, depending on where you need it.<\/li><li>Numbering: The numbering rule is commonly used to make it easy to organize our files. You may add numbering to your files if they have common text. You may either add numbering to the beginning or end of the file name.<\/li><li>Insert At: Use this option to insert specific characters into your file names at your desired position. For example, you may insert a new text \u2018book\u2019 after the 5th character in each file name.<\/li><li>Upper Case: Use this option to turn the text case to uppercase.<\/li><li>Lower Case: Use this option to turn the text case to lowercase.<\/li><li>Title Case: Use this option to capitalize the first character in each word in your file names.<\/li><li>Swap Case: Swap case lets you swap the position of words in your filenames. For example, swap case will change the original filename \u201cpet_food.jpg\u201d to \u201cfood_pet.jpg\u201d. You will need to specify a separator character such as an underscore or a dot.<\/li><\/ul>\n\n\n\n<p>Steps<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Download Easy File Renamer on your PC and install it.<\/li><li>Open up the software and click the System Renamer tab.<\/li><li>Select the Files tab to rename files. If you need to rename folders, select the Folders tab.<\/li><li>Click on Add Files.<\/li><li>Navigate to the sub-folder containing your files and add them all. To select multiple files, use the Ctrl + A keyboard shortcut, and then click on Open.<\/li><li>Repeat over the same process for other sub-folders containing files you want to rename.<\/li><li>Now that you\u2019ve added all the files, use the drop-down box on the left side of your screen to select a renaming rule of your choice.<\/li><li>Click on Add Rule to add it.<\/li><li>Finally, click on Rename to start renaming your files recursively.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>If you have ever encountered a situation where you need to rename all files inside multiple subfolders, you may have probably wondered if there are better ways to quickly accomplish it without much hassle. Manually renaming all the files could take a long time. It is not even an option if you\u2019ve got hundreds of [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[713,714,717,715,718],"class_list":["post-1042","post","type-post","status-publish","format-standard","hentry","category-solutions","tag-recursively-rename-all-files","tag-recursively-rename-files","tag-recursively-rename-files-inside-subfolders","tag-rename-files-recursively","tag-subfolders-recursively-renaming"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/posts\/1042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/comments?post=1042"}],"version-history":[{"count":3,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/posts\/1042\/revisions"}],"predecessor-version":[{"id":1071,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/posts\/1042\/revisions\/1071"}],"wp:attachment":[{"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/media?parent=1042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/categories?post=1042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/tags?post=1042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}