nyaa/batch_upload_torrent.sh

2 lines
137 B
Bash
Executable File

up_t() { curl -F "category=1_2" -F "torrent_file=@$1" 'http://localhost:5500/upload'; }
for x in test_torrent_batch/*; do up_t "$x"; done