9 lines
210 B
Bash
9 lines
210 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Pause all torrents from outside rtorrent, in case rtorrent is crashing on
|
|
# startup.
|
|
|
|
for i in ~/rtorrent/.session/*.torrent.rtorrent; do
|
|
sed -i -re 's/5:statei1e/5:statei0e' $i
|
|
done
|