4/11/11
9:54 am

Forum Question: Copying using terminal?

i have seen the video use terminal to copy files.
But my mac wont boot so i put in the disk and when to the terminal from the boot cd so now i want to file in my hhd called Faddy ICT and the hdd is called MAC OS X and i want to copy it to an extral usb which is called Faddy so help please i need these files?
—–
Faddy Oraha

Comments: 10 Responses to “Copying using terminal?”

    4/11/11 @ 11:51 am

    So you are able to boot with the DVD? Then why not just use the Finder to copy the files? Or, are you booting straight to the command line?
    You can use “df” to list your drives in the command line. Keep in mind that you need to use a backslash before spaces when moving to a drive or copying from it. So, you might do this to move to your drive:
    cd /Volumes/Faddy\ ICT

    Faddy Oraha
    4/11/11 @ 1:11 pm

    HI i can boot to the cd and access the terminal from there.

    I want to copy a folder named Faddy ICT from the HDD which is called MAC OS X and the usb is called Farid i changed so there is no confusion. what command could i use for this then?

    Faddy Oraha
    4/11/11 @ 1:38 pm

    ok i know that cp means copy but can more specific like if its cp -r /Volumes…..

      4/11/11 @ 1:41 pm

      type “man cp” for the full documentation. But basically it is “cp fromfilepath topath”

    Faddy Oraha
    4/11/11 @ 1:53 pm

    I got a folder called “Faddy ICT” which contains 3 word documents. i want to copy at least one of the files to my extremal usb stick which is called “Farid” from the terminal on the cd boot. The folder i want to copy is in the hard drive which is called “MAC OS X”

    I typed cp and i got [-R [-H etc..

    Thanks

    Faddy Oraha
    4/11/11 @ 2:00 pm

    Thakns but i have seen this video before i posted this question. I tried it out but the command on the boot cd is differnet to the one that is loaded on the MAC OS.

    Anyway i have another idea. I am trying to install the OS again and i have a option to upgrade to Mac OS X if i go ahead with this will my folder Faddy ICT still exist there or will be gone?

      4/11/11 @ 2:03 pm

      As long as you don’t specifically choose to erase the drive, then all of your documents and applications will remain.

    jai
    4/5/12 @ 8:33 am

    cp -r (folder name) destination is a right command

Comments Closed.