View Single Post
  #3  
Old 15th November 2011, 01:24 PM
birdwatcher
Guest
 
Posts: n/a
Re: How to copy folder and its content to a "root" restricted folder?

Thank you! It almost worked. I got an error saying:
cp: omitting directory DIRNAME

So I binged it and found that I may want to try adding -r :
su -c "cp -r /home/birdwatcher/thisFolder /root/thisTarget"

This worked.

No biggie, works not. Thanks.
Reply With Quote