From 093613dfe33329f754bdd2c2c0582444434b3f5c Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 30 Aug 2016 12:55:04 +0200 Subject: [PATCH] Added minimal function run --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2318ecb..261db58 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,15 @@ QuickSync example # osync.sh --initiator="/path/to/dir1" --target="/path/to/remote dir2" # osync.sh --initiator="/path/to/another dir" --target="ssh://user@host.com:22//path/to/dir2" --rsakey=/home/user/.ssh/id_rsa_private_key_example.com +QuickSync with minimal options +------------------------------ + +In order to run osync the quickest (without transferring file attributes, without softdeletion, without prior space checks and without remote connectivity checks, you may use the following: + + # MINIMUM_SPACE=0 PRESERVE_PERMISSIONS=no PRESERVE_OWNER=no PRESERVE_GROUP=no PRESERVE_EXECUTABILITY=no SOFT_DELETE_DAYS=0 CONFLICT_BACKUP_DAYS=0 REMOTE_PING=no osync.sh --initiator="/path/to/another dir" --target="ssh://user@host.com:22//path/to/dir2" --rsakey=/home/user/.ssh/id_rsa_private_key_example.com + +All the settings described here may also be configured in the conf file. + Running osync with a Configuration file --------------------------------------- You'll have to customize the sync.conf file according to your needs.