de-verbose cp
This commit is contained in:
parent
e9cb88ca38
commit
4d94e40ddd
1 changed files with 2 additions and 2 deletions
4
doc/special_remotes/external/example.sh
vendored
4
doc/special_remotes/external/example.sh
vendored
|
@ -87,7 +87,7 @@ while read line; do
|
||||||
# XXX when possible, send PROGRESS
|
# XXX when possible, send PROGRESS
|
||||||
calclocation "$key"
|
calclocation "$key"
|
||||||
mkdir -p "$(dirname "$LOC")"
|
mkdir -p "$(dirname "$LOC")"
|
||||||
if runcmd cp -v "$file" "$LOC"; then
|
if runcmd cp "$file" "$LOC"; then
|
||||||
echo TRANSFER-SUCCESS STORE "$key"
|
echo TRANSFER-SUCCESS STORE "$key"
|
||||||
else
|
else
|
||||||
echo TRANSFER-FAILURE STORE "$key"
|
echo TRANSFER-FAILURE STORE "$key"
|
||||||
|
@ -98,7 +98,7 @@ while read line; do
|
||||||
# the key, outputting to the file.
|
# the key, outputting to the file.
|
||||||
# XXX when easy to do, send PROGRESS
|
# XXX when easy to do, send PROGRESS
|
||||||
calclocation "$key"
|
calclocation "$key"
|
||||||
if runcmd cp -v "$LOC" "$file"; then
|
if runcmd cp "$LOC" "$file"; then
|
||||||
echo TRANSFER-SUCCESS RETRIEVE "$key"
|
echo TRANSFER-SUCCESS RETRIEVE "$key"
|
||||||
else
|
else
|
||||||
echo TRANSFER-FAILURE RETRIEVE "$key"
|
echo TRANSFER-FAILURE RETRIEVE "$key"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue