October 2008
MonTueWedThuFriSatSun
« Aug Nov »
 12345
6789101112
13141516171819
20212223242526
2728293031 

Day October 6, 2008

Copy files while preserving permissions

The unix cp command makes you the owner of the copied files. You can set flags but this is supposedly a more complete way to keep any attributes. mkdir /var/backup/michael cd /home/michael tar cf – . | (cd /var/backup/michael && tar xBfp -) found @ http://info.michael-simons.eu/2007/03/18/copy-directories-and-preserve-permissions/