Thanks a lot. Firstly, pls note that I'm accessing the terminal from osx installation disc boot. So if the target volume disk is "disk0s2" and my destination external HD is "disk2s1" (a 500 GB Western Digital USB portable external HD), is it correct to type the following commands?
cp -R [disk0s2] [disk2s1]/Users/[MyUserName/Music/iTunes/iTunes\ Music]/
And should I put the brackets exactly as above? Thanks in advance.
disk0s2 and disk2s1 are references to the devices, but to be able to read and write files they have to be mounted first. disk0s2 should already be mounted as / (forward slash). To mount the other one this would be the command
Code:
diskutil mount /dev/disk2s1
Code:
ls -l /Volumes/
Code:
mount | grep disk
Code:
/dev/disk0s2 on / (hfs, local, journaled)
/dev/disk2s1 on /Volumes/TheNameOfTheExternalHardDrive
Code:
cp -R /Users/YourUserName/Music/iTunes/iTunes\ Music/ /Volumes/TheNameOfTheExternalHardDrive
Code:
cp -vR /Users/YourUserName/Music/iTunes/iTunes\ Music/ /Volumes/TheNameOfTheExternalHardDrive
Last edited: