Thursday, March 26, 2009

Copy files maintaining ACL's

Following these steps will copy files exactly as they sit on the system. Doing a regular cp -R /local/original /local/destination will not maintain ACL's

1. cd /local/original
2. mkdir /local/destination
3. find . -print | cpio -dumpv /local/destination

Thanks Christocyr!

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home