星期四, 9月 10, 2009

rsync command Example

The following command will backup the desktop to the mybackups folder

rsync -rlpt --stats Desktop /volumes/LaCieDrive/mybackups

Options used above:
-r = Recursive, traverse into subdirectories
-l = Treat symlinks as symlinks; don't follow them
-p = Preserve permissions
-t = Preserve creation and modification dates and times
--stats = Show file transfer statistics

沒有留言:

推薦此文