Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Terminal commands. Transfer files from computer hard drive to external drive.

Hi I would like to transfer all my files from my computers HD to an external HD. Can someone tell me the commands for terminal in order for my to do this. For example. Mv- /volumes/Macintosh HD/johnsmith /volumes/untitled many thanks

Posted on Jul 5, 2015 10:50 AM

Reply
2 replies

Jul 5, 2015 10:59 AM in response to Nathancrosbie

This can be done with sudo ditto, but you’ll likely find that it’s better to use the Disk Utility’s Restore feature or a product such as Carbon Copy Cloner instead. A home folder can just be drag-copied.


A complete command will look like:


sudo ditto '/Volumes/Macintosh HD/johnsmith' ‘/Volumes/untitled/johnsmith'


(129735)

Jul 5, 2015 11:00 AM in response to Nathancrosbie

I suggest you use an application to do this…

http://bombich.com/

http://econtechnologies.com/


The commands are useful for people who know what they are doing (and have read the manuals), but it isn't a good idea to run them when being prompted via a forum like this - there are many things that can easily go wrong causing you to lose data or fail to copy or move items correctly or safely.


The apps above give you plenty control to do a copy safely.

Terminal commands. Transfer files from computer hard drive to external drive.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.