summaryrefslogtreecommitdiffstats
path: root/add-torrent
diff options
context:
space:
mode:
Diffstat (limited to 'add-torrent')
-rwxr-xr-xadd-torrent4
1 files changed, 3 insertions, 1 deletions
diff --git a/add-torrent b/add-torrent
index 499f1e9..aef56f1 100755
--- a/add-torrent
+++ b/add-torrent
@@ -1,2 +1,4 @@
#!/bin/bash
-transmission-remote mistral:9091 -a "$1"
+for file; do
+ transmission-remote mistral:9091 -a "$file"
+done