{"id":1152,"date":"2012-10-26T19:42:36","date_gmt":"2012-10-26T19:42:36","guid":{"rendered":"http:\/\/www.phpmind.com\/blog\/?p=1152"},"modified":"2012-10-26T19:42:36","modified_gmt":"2012-10-26T19:42:36","slug":"mac-how-to-copy-files-from-hard-disk-to-usb-drive-through-command-line","status":"publish","type":"post","link":"https:\/\/www.phpmind.com\/blog\/2012\/10\/mac-how-to-copy-files-from-hard-disk-to-usb-drive-through-command-line\/","title":{"rendered":"Mac: How to copy files from hard disk to USB drive through command line ?"},"content":{"rendered":"<p>In order to copy really big files or full directory coping through command line is good idea.<br \/>\nIt will be fast and easy. In your mac you can find source directory easily but how to find destination directory?<\/p>\n<p>Go to root and check the volume directory. \/Volumes<br \/>\nNow its time to check where is your destination directory and where you want to keep your files.<br \/>\nIn my case \/Volumes\/Seagate Backup Plus Drive\/my_download<\/p>\n<pre lang=\"php\">\r\ncp -R 1_j_download\/ \/Volumes\/\"Seagate Backup Plus Drive\"\/my_download \r\n<\/pre>\n<p>There are 2 points<br \/>\nA. cp has -R which is used to copy entire directory.<br \/>\nB. &#8220;Seagate Backup Plus Drive&#8221; directory in my case has quote because of space. If you don&#8217;t use quote probably it will not work! However you can name your drive without space.<\/p>\n<p>It will take few minutes to copy really big chunks of data&#8230; Still it depends on size.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to copy really big files or full directory coping through command line is good idea. It will be fast and easy. In your mac you can find source directory easily but how to find destination directory? Go to root and check the volume directory. \/Volumes Now its time to check where is your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[42],"tags":[],"class_list":["post-1152","post","type-post","status-publish","format-standard","hentry","category-mac"],"_links":{"self":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/comments?post=1152"}],"version-history":[{"count":1,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1152\/revisions"}],"predecessor-version":[{"id":1153,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1152\/revisions\/1153"}],"wp:attachment":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/media?parent=1152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/categories?post=1152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/tags?post=1152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}