Browse Source

Removed dashes from flag

expose_links
Drew Short 5 years ago
parent
commit
14d6dd99e8
  1. 2
      README.md
  2. 2
      assets/out

2
README.md

@ -61,7 +61,7 @@ It's highly recommended to use secrets mangement to avoid storing sensitive cred
* `dir`: Required. A rclone destination for the files. ex. `remote:some/location`
* `subdir`: Optional. A file that includes additional path information to be appended to the end of destination.
* `dedupe`: Optional. Run `rsync dedupe` after syncing files. Default false
* `dedupe-mode`: Optional. The dedupe mode to use. Default newest. [rclone dedupe](https://rclone.org/commands/rclone_dedupe/)
* `dedupeMode`: Optional. The dedupe mode to use. Default newest. [rclone dedupe](https://rclone.org/commands/rclone_dedupe/)
* skip
* first
* newest (default)

2
assets/out

@ -70,7 +70,7 @@ for destination in $destinations; do
rclone_destination=$(_jq '.dir')
rclone_destination_subdir_file=$(_jq '.subdir // ""')
rclone_dedupe=$(_jq '.dedupe // "false"')
rclone_dedupe_mode=$(_jq '.dedupe-mode // "newest"')
rclone_dedupe_mode=$(_jq '.dedupeMode // "newest"')
echo "Destination: $rclone_destination"
echo "Destination subdir file: ${rclone_destination_subdir_file}"

Loading…
Cancel
Save