rc: managing transmission-daemon

Or in other words getting out list of torrents and magnet links.

Closes #71
This commit is contained in:
Aminda Suomalainen 2015-06-12 19:28:10 +03:00
parent 0026e81a45
commit d8c078a45e
2 changed files with 17 additions and 0 deletions

View File

@ -871,6 +871,14 @@ ssldownloadcert () {
echo QUIT | openssl s_client -connect $1:443 | sed -ne '/BEGIN CERT/,/END CERT/p' | tee $1.pem echo QUIT | openssl s_client -connect $1:443 | sed -ne '/BEGIN CERT/,/END CERT/p' | tee $1.pem
} }
# Getting magnet from transmission-daemon
transmission-torrents () {
transmission-remote -l
}
transmission-magnet () {
transmission-remote -l -t $1 -i | grep magnet
}
# .custom # .custom
if [ -f ~/.custom ]; then if [ -f ~/.custom ]; then
source ~/.custom source ~/.custom

View File

@ -860,6 +860,15 @@ ssldownloadcert () {
echo QUIT | openssl s_client -connect $1:443 | sed -ne '/BEGIN CERT/,/END CERT/p' | tee $1.pem echo QUIT | openssl s_client -connect $1:443 | sed -ne '/BEGIN CERT/,/END CERT/p' | tee $1.pem
} }
# Getting magnet from transmission-daemon
transmission-torrents () {
transmission-remote -l
}
transmission-magnet () {
transmission-remote -l -t $1 -i | grep magnet
}
# Source files for miscannellious modifications. # Source files for miscannellious modifications.
# .custom # .custom