my dog learned polymorphism
The moose likes Linux / UNIX and the fly likes perserve exact copy while copying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "perserve exact copy while copying" Watch "perserve exact copy while copying" New topic

perserve exact copy while copying

Gopu Akraju
Ranch Hand

Joined: Jan 13, 2008
Posts: 242
How to copy in unix preserving the entire folder structure while copying.

I tripe as cp -rp 'source folder' . (present folder)

But I get something like below:

What is this?
Mirko Bonasorte
Ranch Hand

Joined: May 14, 2007
Posts: 244
You tipically get such an error if the destination file system does not support ownership permissions (for example, if it's samba)

SCJP<br />SCWCD 1.4 Upgrade (Remember: me stupid)<br />SCWCD 1.4<br /><a href="" target="_blank" rel="nofollow">SCBCD 5.0</a><br /><a href="" target="_blank" rel="nofollow">SCBCD 5.0 mock exam</a> <br /> <br />SCEA 5 Part1: Preparing...
I agree. Here's the link:
subject: perserve exact copy while copying
jQuery in Action, 3rd edition