Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Faster N9 Transitions v5.0 (9/2/12)

    Reply
    Page 12 of 47 | Prev | 2   10     11   12   13     14   22 | Next | Last
    BlinkThinks | # 111 | 2011-12-03, 03:26 | Report

    @Arie

    Thank you! So this should automatically back up my orig files then and I could copy via USB to a safe folder, correct? Sorry for such a stupid question. I just want to make sure I don't falter

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to BlinkThinks For This Useful Post:
    scapegoat845

     
    Arie | # 112 | 2011-12-03, 03:27 | Report

    Originally Posted by BlinkThinks View Post
    @Arie

    Thank you! So this should automatically back up my orig files then and I could copy via USB to a safe folder, correct? Sorry for such a stupid question. I just want to make sure I don't falter
    Before you transfer the file to your mass storage, try and make a copy of it, if it successfully went through, you will see a /usr folder in your MyDocs.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Arie For This Useful Post:
    scapegoat845

     
    BlinkThinks | # 113 | 2011-12-03, 03:30 | Report

    Arie, ok.. got it. Will do it now. Much appreciated

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BlinkThinks | # 114 | 2011-12-03, 03:37 | Report

    Ok I just did this:

    cp /usr /home/user/MyDocs
    and I got a reply:
    "omitting directory '/usr'

    Is that it?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Arie | # 115 | 2011-12-03, 03:41 | Report

    Originally Posted by BlinkThinks View Post
    Ok I just did this:

    cp /usr /home/user/MyDocs
    and I got a reply:
    "omitting directory '/usr'

    Is that it?
    No, I've never actually copied it, so I am taking shots in the dark here, lol....

    try cp -R /usr /home/user/MyDocs, see if that works

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Arie | # 116 | 2011-12-03, 03:44 | Report

    Originally Posted by F2thaK View Post
    doesnt the -R remove the copied folder???

    what about cp /usr/ /home/user/MyDocs/
    it does? I assume there is nothing to remove, and no -R doesn't remove the copied folder.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BlinkThinks | # 117 | 2011-12-03, 03:46 | Report

    No usr directory was copied in the root with the first command.

    Doing the second command, cp -R /usr /home/user/MyDocs

    gave this:

    'can't stat ' - ' : So such fiile or directory'
    'cant stat ' R " : no such file or directory'

    Oh well, I'll just go ahead and copy F2thaK's files instead...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    F2thaK | # 118 | 2011-12-03, 03:48 | Report

    I just thought that was what the R did...


    Originally Posted by
    cp - copies on or more files. Recursive copying is one simple way of archiving part of a directory structure. Use the command as follows:

    cp -r /sourcedirectory /targetdirectory
    taken from
    http://www.er.uqam.ca/nobel/r10735/unixcomm.html

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to F2thaK For This Useful Post:
    scapegoat845

     
    BlinkThinks | # 119 | 2011-12-03, 03:50 | Report

    F2thaK

    cp /usr/ /home/user/MyDocs/

    showed cp [OPTIONS] SOURCE DEST

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Arie | # 120 | 2011-12-03, 03:51 | Report

    cp -R is copy recursive, not copy and remove, a bit of googling helped, but I could be wrong.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 12 of 47 | Prev | 2   10     11   12   13     14   22 | Next | Last
vBulletin® Version 3.8.8
Normal Logout