-
Using rsync to sync files rsync avh source…
http://gruvnbrass.com/?formirovka=saint-genis-laval-rencontres-libertines&c04=94 Using rsync to sync files. rsync -avh source_folder/ target_folder/ -a: archive mode -v: verbose -h: human readable Additional options -u: update only (preserve newer files) -H: preserve the hard link –progress: shows progress -n: dry run (without actual copying) By the way, “/home/user/dir/” and “/home/usr/dir” are not the same thing to rsync. Without the final…
-
Difference between hg clone and hg pull (Backing up Mercurial Repository)
jerkily hg clone will make a new repository (.hg). hg pull will pull changeset from the depository to the current *existing* repository. So hg clone can be used at first if you want to backup your repository and afterthat, use hg pull to update the backup.