From f0a8abb380ec35a763e27fe4a491d544c493eae7 Mon Sep 17 00:00:00 2001 From: derfenix Date: Mon, 6 Jan 2025 15:18:06 +0300 Subject: [PATCH] Update README.md --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index c291472..cc340d9 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,34 @@ Currently, the timestamp format is not customizable. Let me know if support for ## Usage +Arguments +```shell + -dir-mode string + Mode bits for directories can be created while syncing (default "0777") + -file-mode string + Mode bits for files created while syncing (not applicable for hardlink mode) (default "0644") + -mode string + Mode (default "hardlink") + -overwrite + Overwrite existing files + -skip-full-sync + Skip full sync at startup + -source string + Source directory + -target string + Target directory + -watch + Watch for changes in the source directory (default true) + +``` + +`-skip-full-sync` and `-watch` are not compatible. + +`-source` and `-target` are required. + + +## Examples + ### One-Time Run #### Copy Files