{"id":768,"date":"2016-10-10T07:31:43","date_gmt":"2016-10-10T07:31:43","guid":{"rendered":"http:\/\/www.stcleaner.com\/blog\/?p=768"},"modified":"2018-10-22T12:58:22","modified_gmt":"2018-10-22T12:58:22","slug":"bulk-move-files-using-batch-command","status":"publish","type":"post","link":"https:\/\/www.stcleaner.com\/blog\/2016\/10\/10\/bulk-move-files-using-batch-command\/","title":{"rendered":"Bulk Move Files Using Batch Command"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Moving multiple files can be an extremely tedious and time-consuming task.<\/span><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400;\"> Your hard drive may be running with different files gathered into a single directory. So even if you need to move bulk files, you have to look after each of them, select and move them to a new location, and repeat the act over and over again for files stored in different directories.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Let\u2019s say, you\u2019ve tens of thousands of files starting with the name <\/span><b><i>Sorcim<\/i><\/b><span style=\"font-weight: 400;\"> and ending up with random numbers. Since there are many other unwanted files in the same directory, it is difficult to identify and choose the ones you desire to move. If you wish to move files in bulk and\/or rename them automatically, you can use the Easy File Renamer software. It has 8+ renaming rules and comes with a cloud renaming feature. Download it.<\/span><\/p>\n<blockquote>\n<p style=\"text-align: center;\"><a href=\"https:\/\/easyfilerenamer.com\/download\/ibx\" target=\"_blank\" rel=\"nofollow\"><span style=\"text-decoration: underline;\"><strong>Move Files in Bulk Automatically<\/strong><\/span><\/a><\/p>\n<p style=\"text-align: center;\"><strong>Easy File Renamer\u00a0follows Google Software Principles<\/strong><\/p>\n<\/blockquote>\n<p><span style=\"font-weight: 400;\">There are, however, two simple ways in given circumstance:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">a)<\/span><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Using a Batch command<\/span><\/p>\n<p><span style=\"font-weight: 400;\">b)<\/span><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Sort, rearrange and move files using file selection shortcuts<\/span><\/p>\n<p><!--more--><\/p>\n<h1><span style=\"font-weight: 400;\">Using a Batch Command<\/span><\/h1>\n<p><span style=\"font-weight: 400;\">Batch is commonly abbreviated as<\/span><i><span style=\"font-weight: 400;\"> .bat<\/span><\/i><span style=\"font-weight: 400;\">, a type of file that automatically executes given set of commands. It is fairly easy to create a Batch file.<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Open <\/span><b>Notepad<\/b><span style=\"font-weight: 400;\">. To do so, click <\/span><b>Start<\/b><span style=\"font-weight: 400;\">; select <\/span><b>Notepad<\/b><span style=\"font-weight: 400;\"> if your Windows 10 is running with all recent updates. If not, find it out into the <\/span><b>All Apps <\/b><span style=\"font-weight: 400;\">category.<\/span><\/li>\n<\/ol>\n<ol start=\"2\">\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Insert the following text with little changes as may be required:<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">move \/-y &#8220;&lt;Source Directory&gt; &lt;Single Space&gt; *&lt;Keyword at the beginning of each file name&gt; *.&lt;File Extension&gt;&#8221; &#8220;&lt;Destination Directory&gt;&#8221;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">pause<\/span><\/p>\n<h2><b>Example:<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">move \/-y &#8220;C:\\Users\\XXX\\Documents\\ *Sorcim*.txt&#8221; &#8220;E:\\XYZ\\&#8221;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">pause<\/span><\/p>\n<ol start=\"3\">\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Press <\/span><b>Ctrl<\/b><span style=\"font-weight: 400;\"> + <\/span><b>S<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Save the file with following parameters:<\/span><\/li>\n<\/ol>\n<ul>\n<li style=\"font-weight: 400;\"><b>File Name:<\/b><span style=\"font-weight: 400;\"> Bulk File Moving Batch.bat<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>File Location:<\/b><span style=\"font-weight: 400;\"> Desktop<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Save as Type:<\/b><span style=\"font-weight: 400;\"> All Files<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Encoding:<\/b><span style=\"font-weight: 400;\"> ANSI (<\/span><i><span style=\"font-weight: 400;\">Default selection<\/span><\/i><span style=\"font-weight: 400;\">)<\/span><\/li>\n<\/ul>\n<ol start=\"5\">\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Close the newly created <\/span><i><span style=\"font-weight: 400;\">Notepad<\/span><\/i><span style=\"font-weight: 400;\"> file.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Double click <\/span><b>Bulk File Moving Batch.bat <\/b><span style=\"font-weight: 400;\">file.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Let\u2019s look into the command in a broader aspect.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">1. The first part of the command # 1<\/span> <span style=\"font-weight: 400;\">is defining a <\/span><i><span style=\"font-weight: 400;\">source <\/span><\/i><span style=\"font-weight: 400;\">and <\/span><i><span style=\"font-weight: 400;\">destination <\/span><\/i><span style=\"font-weight: 400;\">followed by \u201c<\/span><b>move \/-y<\/b><span style=\"font-weight: 400;\">\u201d command.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As you can notice, we used a single dash (-) before \u201cy\u201d which signifies each time there is a file with the same name in destination directory, you\u2019ll be prompted whether to replace it or not. The above command is merely saying: <\/span><span style=\"font-weight: 400;\">Prompt every time there is a file with identical name. Do NOT replace it automatically<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">2. You may, however, replace that part with \u201c<\/span><b>move \/Y<\/b><span style=\"font-weight: 400;\">\u201d if your destination directory is empty, or <\/span><span style=\"font-weight: 400;\">if you don\u2019t care about your files being replaced<\/span><span style=\"font-weight: 400;\">. This command suppresses all confirmation prompts. Use it carefully.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you need to make changes to your <\/span><b>Bulk File Moving Batch.bat <\/b><span style=\"font-weight: 400;\">file, right click it, select <\/span><b>Edit<\/b><span style=\"font-weight: 400;\"> option from the <\/span><i><span style=\"font-weight: 400;\">context menu<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h1><span style=\"font-weight: 400;\">Sort, Rearrange and Move Files Using File Selection Shortcuts<\/span><\/h1>\n<p><span style=\"font-weight: 400;\">Here are some tips &amp; tricks to simplify manual moving process:<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Click the <\/span><b>File Explorer <\/b><span style=\"font-weight: 400;\">icon on your <\/span><i><span style=\"font-weight: 400;\">Taskbar<\/span><\/i><span style=\"font-weight: 400;\">, a bar at the bottom of your screen.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Open the source directory.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Click the <\/span><b>View <\/b><span style=\"font-weight: 400;\">tab on the <\/span><i><span style=\"font-weight: 400;\">Ribbon <\/span><\/i><span style=\"font-weight: 400;\">interface.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Click the <\/span><b>Details <\/b><span style=\"font-weight: 400;\">icon<\/span> <span style=\"font-weight: 400;\">in the <\/span><b>Layout<\/b><span style=\"font-weight: 400;\"> category.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Click <\/span><b>Group by<\/b><span style=\"font-weight: 400;\"> | <\/span><b>Name<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Your files are now rearranged and grouped in namewise manner.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Use the <\/span><b>Ctrl<\/b><span style=\"font-weight: 400;\"> and <\/span><b>Shift <\/b><span style=\"font-weight: 400;\">keyboard<\/span> <span style=\"font-weight: 400;\">commands to select non-continuous and continuous files respectively.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Once you\u2019re done with selecting all intended files, click the <\/span><b>Home<\/b><span style=\"font-weight: 400;\"> tab on <\/span><i><span style=\"font-weight: 400;\">Ribbon<\/span><\/i><span style=\"font-weight: 400;\">, and click <\/span><b>Move to<\/b><span style=\"font-weight: 400;\"> icon.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> \u00a0\u00a0<\/span><span style=\"font-weight: 400;\">Select a special directory (Desktop, Pictures, Downloads, etc) or click <\/span><b>Choose location<\/b><span style=\"font-weight: 400;\"> and locate the target directory.<\/span><\/li>\n<\/ol>\n<h1><span style=\"font-weight: 400;\">Bonus Tip<\/span><\/h1>\n<p><span style=\"font-weight: 400;\">We hope you enjoyed moving bulk files in a hassles manner. Now you can rename files with single click. <\/span><b>Easy File Renamer<\/b><span style=\"font-weight: 400;\"> gets all of your renaming tasks done at lightning speed and accuracy. Select a file renaming criteria and rename files with ease. Why waiting?\u00a0<\/span><a href=\"https:\/\/www.easyfilerenamer.com\/\" target=\"_blank\"><span style=\"font-weight: 400;\">Click here<\/span><\/a><span style=\"font-weight: 400;\"> and grab your <\/span><b>FREE<\/b><span style=\"font-weight: 400;\"> download now!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Moving multiple files can be an extremely tedious and time-consuming task.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[513,514,512,515,517,516],"class_list":["post-768","post","type-post","status-publish","format-standard","hentry","category-solutions","tag-bulk-move-docs","tag-bulk-move-documents","tag-bulk-move-files","tag-bulk-move-files-using-batch","tag-create-batch-to-bulk-move-files","tag-create-batch-to-move-files"],"_links":{"self":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts\/768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/comments?post=768"}],"version-history":[{"count":8,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts\/768\/revisions"}],"predecessor-version":[{"id":1796,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts\/768\/revisions\/1796"}],"wp:attachment":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/media?parent=768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/categories?post=768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/tags?post=768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}