Sfoglia il codice sorgente

gdr-img loops through arguments

Getty Ritter 7 anni fa
parent
commit
e24cc7b1ff
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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