[Cialug] sync file permissions

Barry Von Ahsen barry at vonahsen.com
Fri Apr 30 10:26:37 CDT 2010


does any body know of a way to sync just file permissions between two 
directories?

I know there's cp -a and rsync -a , but I don't want to copy contents, 
just permissions

chmod has a --reference=file parameter; it seems like that could be 
leveraged with find -exec or xargs

anybody done this?


-barry




More information about the Cialug mailing list