# sh migration_cdsw.sh --help
Usage: lib.sh [-h] -p param_value arg1 [arg2...]
Script description here.
Available options:
-h, --help Print this help and exit
-m, --mode sync|diff Two mode
sync mode: sync data to destination
diff mode: compare data between source and destination
-s, --source Source path
-d, --destination Destination path
Example:
sync:
sh migration_cdsw.sh -m sync -s <source folder> -d root@<IP>:<Dest folder>
diff:
sh migration_cdsw.sh -m diff -s <source folder> -d root@<IP>:<Dest folder>