1. Limited time only! Sign up for a free 30min personal 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!

Homework Help: Linux: copy folder from one user to another

  1. Apr 30, 2013 #1

    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


    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?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted