Skip to content

Commit

Permalink
remove --no-progress-meter
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai authored Jan 10, 2024
1 parent 897306b commit 4f6d7fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions add_data_to_graph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ fi
if [ "$clear_data" = "on" ]; then
echo -e "\nCLEARING EXISTING DATA FROM ${graph_db}..."

response=$(curl -u "${user}:${password}" --no-progress-meter -i -w "\n%{http_code}\n" \
response=$(curl -u "${user}:${password}" -s -S -i -w "\n%{http_code}\n" \
-X POST $clear_data_url \
-H "Content-Type: application/sparql-update" \
--data-binary "${DELETE_TRIPLES_QUERY}")
Expand Down Expand Up @@ -193,7 +193,7 @@ for file in ${jsonld_dir}/*.ttl; do
[ -e "$file" ] || continue

echo "$(basename ${file}):"
response=$(curl -u "${user}:${password}" --no-progress-meter -i -w "\n%{http_code}\n" \
response=$(curl -u "${user}:${password}" -s -S -i -w "\n%{http_code}\n" \
-X POST $upload_data_url \
-H "Content-Type: text/turtle" \
--data-binary @${file})
Expand Down

0 comments on commit 4f6d7fb

Please sign in to comment.