mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
rc: managing transmission-daemon
Or in other words getting out list of torrents and magnet links. Closes #71
This commit is contained in:
parent
0026e81a45
commit
d8c078a45e
@ -871,6 +871,14 @@ ssldownloadcert () {
|
||||
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
|
||||
if [ -f ~/.custom ]; then
|
||||
source ~/.custom
|
||||
|
9
rc/zshrc
9
rc/zshrc
@ -860,6 +860,15 @@ ssldownloadcert () {
|
||||
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.
|
||||
|
||||
# .custom
|
||||
|
Loading…
Reference in New Issue
Block a user