Browse Source

Remove unused --temp argument.

tags/v0.10.0^2
Bèr Kessels 2 years ago
parent
commit
54450fa7ff
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      osm-sync.sh

+ 1
- 2
osm-sync.sh View File

@@ -134,7 +134,6 @@ function help () {
[[ "${__usage+x}" ]] || read -r -d '' __usage <<-'EOF' || true # exits non-zero when EOF encountered
-u --urls-file [arg] A list of URLS to parse. Space separated. Default="./urls.txt"
-p --pinbook [arg] Pinbook file. Default="./pinbook.txt"
-t --temp [arg] Location of tempfile. Default="/tmp/wget-to-ipfs"
-c --change-dns Update the DNS server over REST.
-v Enable verbose mode, print script as it is executed
-d --debug Enables debug mode
@@ -381,7 +380,7 @@ truncate --size=0 "${arg_p}"
## Add new files
while read -r _url;
do
_out=$(wget-to-ipfs --url="${_url}" --root="${_dir_hash}" --temp="{arg_t}" --pinbook="${arg_p}")
_out=$(wget-to-ipfs --url="${_url}" --root="${_dir_hash}" --pinbook="${arg_p}")
_dir_hash=$(echo "${_out}" | grep root | cut --delimiter=" " --fields=2)
done < "${arg_u}"


Loading…
Cancel
Save