Browse Source

gdr-img loops through arguments

Getty Ritter 8 years ago
parent
commit
e24cc7b1ff
1 changed files with 3 additions and 1 deletions
  1. 3 1
      scripts/gdr-img

+ 3 - 1
scripts/gdr-img

@@ -1,3 +1,5 @@
 #!/bin/sh
 
-scp $1 rosencrantz:/srv/http/gdr/www/imgs/.
+for f in $@; do
+    scp $f rosencrantz:/srv/http/gdr/www/imgs/.
+done