mirror of
https://github.com/derfenix/photocatalog.git
synced 2026-03-11 11:52:57 +03:00
Update README.md
This commit is contained in:
28
README.md
28
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
|
||||
|
||||
Reference in New Issue
Block a user