11 lines
137 B
Bash
Executable File
11 lines
137 B
Bash
Executable File
#!/bin/bash
|
|
|
|
pwd=deluge
|
|
url=http://localhost:8112
|
|
|
|
for arg in "$@"
|
|
do
|
|
curl -F torrent=@"$arg" -F pwd=$pwd $url/remote/torrent/add
|
|
done
|
|
|