{"id":35828,"date":"2018-10-05T17:49:25","date_gmt":"2018-10-05T17:49:25","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=35828"},"modified":"2018-10-05T17:50:30","modified_gmt":"2018-10-05T17:50:30","slug":"windows-command-prompt-an-example-of-robocopy","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/windows-command-prompt-an-example-of-robocopy\/","title":{"rendered":"Windows command prompt: an example of robocopy"},"content":{"rendered":"<h2>Self-tutoring about copying folders: the tutor mentions robocopy.<\/h2>\n<div style=\"font-size:130%;font-family:monospace;white-space:pre-wrap;margin-bottom:16px\">\nrobocopy this_dir j:\\that_dir \/e\n<\/div>\n<p>As I recall, the above command, from the command prompt, can be used to copy the local directory <em>this_dir<\/em> to the external location  <em>j:\\that_dir<\/em>. The switch \/e at the end means to include subdirectories (aka, subfolders) as they are, even if empty.<\/p>\n<p>In my experience, it&#8217;s important to mention the destination directory: robocopy doesn&#8217;t copy the top level source directory unless you mention it as the destination.<\/p>\n<p>Robocopy lists, at the end, any failures or skips. I&#8217;ve used it, in Windows 7, and I&#8217;m a fan.<\/p>\n<p>Source:<\/p>\n<p><a href=\"https:\/\/ss64.com\/nt\/robocopy.html\">ss64.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about copying folders: the tutor mentions robocopy. robocopy this_dir j:\\that_dir \/e As I recall, the above command, from the command prompt, can be used to copy the local directory this_dir to the external location j:\\that_dir. The switch \/e at &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/windows-command-prompt-an-example-of-robocopy\/\"> <span class=\"screen-reader-text\">Windows command prompt: an example of robocopy<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1073],"tags":[],"class_list":["post-35828","post","type-post","status-publish","format-standard","hentry","category-computer-skills"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/35828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=35828"}],"version-history":[{"count":10,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/35828\/revisions"}],"predecessor-version":[{"id":35838,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/35828\/revisions\/35838"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=35828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=35828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=35828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}