1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Linux: copy folder from one user to another

  1. Apr 30, 2013 #1
    Hello,

    I'm having trouble copying some folders from one user to another. I've attempted something like this:

    cp -r /olduser/folder ./newuser/folder

    it just tells me no such file or directory
    Can anybody please help ?

    Thank you
     
  2. jcsd
  3. Apr 30, 2013 #2

    CompuChip

    User Avatar
    Science Advisor
    Homework Helper

    Don't you mean /newuser/folder?
    Or ~newuser/folder, if you want to put it in their homedir?
    Or ~newuser, if you don't want it in ~newuser/folder/folder?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted