Browse Source

Add mkdir to create destination folder

master
Drew Short 5 years ago
parent
commit
1da7c2ddda
  1. 1
      assets/out

1
assets/out

@ -131,6 +131,7 @@ if (( ${#file_links[@]} )); then
metadata=${metadata::-1} metadata=${metadata::-1}
links_json=$( echo -n "{\"links\":[${metadata}]}" | jq -r . ) links_json=$( echo -n "{\"links\":[${metadata}]}" | jq -r . )
echo "Links: ${links_json}" echo "Links: ${links_json}"
mkdir -p "${rclone_source_directory}/.rclone"
echo "$links_json" > "${rclone_source_directory}/.rclone/links" echo "$links_json" > "${rclone_source_directory}/.rclone/links"
jq -n "{ jq -n "{
version: { version: {

Loading…
Cancel
Save