Update README.md

This commit is contained in:
2019-04-20 19:07:41 +02:00
parent 9d5bfa9dad
commit 820630fa2c

View File

@@ -9,32 +9,28 @@ The executable is completelly portable, there are no dependencies.
## Usage ## Usage
Basic usage to syncronize two directories, dirA and dirB: Basic usage to syncronize two directories, dirA and dirB:
filesync sync dirA dirB filesync -sync -dir dirA -dir dirB
To make a efficient copy from dirA to dirB: To make a efficient copy from dirA to dirB:
filesync copy dirA dirB filesync -copy -dir dirA -dir dirB
The rest of options are listed with no parameters: The rest of options are listed with no parameters:
$ filesync ```
Usage: $ filesync
filesync info [file] {[file] {..}} Parameters:
filesync scan [dir] [tree] -dir [Item]: Specify a directory.
filesync rescan [dir] [tree] -nocheck: Do not check for changes on directories.
filesync read [file] [tree] -dummy: Do not perform operations.
filesync dir [dir] -copy: Copy first directory to second directory.
filesync check [dir] -sync: Synchronize between two directories.
-log [Item]: Log actions to file.
filesync sync [dirA] [dirB] -scan [Item] [Item]: Scan directory and save to filenode file.
filesync resync [dirA] [dirB] -rescan [Item] [Item]: Rescan directory and save to filenode file.
filesync synctest [dirA] [dirB] -read [Item]: Read filenode file.
filesync resynctest [dirA] [dirB] -check [Item]: Check changes on a directory.
```
filesync copy [dirA] [dirB]
filesync recopy [dirA] [dirB]
filesync copytest [dirA] [dirB]
filesync recopytest [dirA] [dirB]
## Building ## Building
There is a GNU Make compatible Makefile usable on Linux and MingGW. There is a GNU Make compatible Makefile usable on Linux and MingGW.