Definite's Extractor

My findings on Life, Linux, Open Source, and so on.


rsync is a smart program to copy files between different directories or machines. I used to use it on day-to-day basis. However, it didn’t not work as smart as it appear to be. I even considered writing a synchronising program on my own.

Nevertheless, a few days ago I re-read the manual and find something interesting:

  • If synchronising with local directories, it will copy the whole files as needed.
  • If synchronising with remote directories, it will use its increamental algorithm to do the job.

Summary: if sychronising with remote directories such as those on samba servers, it is better not to sync them as mounted directories. Instead, sync them as folders on the remote sites.

Here is the parameters I am using at the moment:

rsync -Crvzlui --stats --progress --delete

* There is one drawback, though. I have not figureed out how to set the automatic login, so I have to type password every time.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: