Backup files in internet recovery mode: cp command errors I'm currently trying to backup files from my MacBook Pro (2011) to an external hard drive in internet recovery mode (my laptop has been stuck on the bootscreen for the past 2 days, I think the hard drive is failing).
In order to do so, I've been trying to use cp commands in the Terminal, but I keep receiving the error message &quot;no such file or directory&quot;.
Here are the commands I've run (I used the information here to guide myself) :
cp -r &quot;/Volumes/Macintosh HD/Users/myusername/Documents/&quot; &quot;/Volumes/nameofextHD/&quot;
cp -r &quot;/Volumes/Macintosh HD/Users/myusername/Desktop/&quot; &quot;/Volumes/nameofextHD/&quot;
cp -r &quot;/Volumes/Macintosh HD/Users/myusername/Pictures/&quot;*.jpg &quot;/Volumes/nameofextHD/&quot;
I'm wondering if anyone could help me fix these cp commands please?
Thank you very much!
The error has to be in the names of the directory structures you use. For example, using the last command the error must be in the names
&quot;/Volumes/Macintosh HD/Users/myusername/Pictures/&quot;
or
&quot;/Volumes/nameofextHD/&quot;
There is a problem with one of these names or else there are no jpgs in that directory.
The same applies for the other statements. Did you mean to use the -r or the -R option with the copy command? My computer running High Sierra doesn't show a -r option for the cp command. I think you want -R.