Skip to content
Snippets Groups Projects
Commit 71295691 authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

use rsync to get progress

parent f68a2509
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ while read line; do
tmp="$mydirectory/tmp/$key"
d=$(dirname "$LOC")
runcmd mkdir -p "$d"
if runcmd cp -f "$file" "$tmp" && \
if runcmd rsync --progress "$file" "$tmp" && \
runcmd mv -f "$tmp" "$LOC"; then
echo TRANSFER-SUCCESS STORE "$key"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment