Skip to content

Commit

Permalink
add dummy option to grep
Browse files Browse the repository at this point in the history
  • Loading branch information
enukane authored Jun 21, 2017
1 parent af87afe commit 191ed7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sakuraobj-download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ echo "cd to output directory"
cd ${OUTPUT}

echo "Downloading objects (grep ${GREPOPT})"
s3cmd ls s3://${OUTPUT} | grep ${GREPOPT} | awk '{print $4}' | xargs -I@ s3cmd get @
s3cmd ls s3://${OUTPUT} | grep -e "" ${GREPOPT} | awk '{print $4}' | xargs -I@ s3cmd get @

echo "object downloaded to ./${OUTPUT}"

0 comments on commit 191ed7d

Please sign in to comment.