Parcourir la source

gdr-img loops through arguments

Getty Ritter il y a 7 ans
Parent
commit
e24cc7b1ff
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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