Copying Files & Rsync On Linux
Filed Under
Linux at 5th February 2009 9:08 by
Danny
I ofund this article from IBM which says you can copy files and preserve their file permissions using the -p argument e.g
cp -p log.txt /
This is really handy when used with the recursive -r argument which will keep all the permissions the same in all sub directories and files.
The article also goes through how to use tar and rysnc
IBM Synchronizing UNIX files article
About Danny
I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog.
Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise.
Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school.
View all posts by Danny →
This entry was posted in
Linux and tagged
file permissions,
Linux,
synchronizing. Bookmark the
permalink.