config:deluge
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
config:deluge [2017/04/27 20:31] – created Wulf Rajek | config:deluge [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 16: | Line 16: | ||
torrentname=$2 | torrentname=$2 | ||
torrentpath=$3 | torrentpath=$3 | ||
+ | logfile="/ | ||
if [ -f " | if [ -f " | ||
then | then | ||
- | echo " | + | echo " |
else | else | ||
- | echo " | + | echo " |
- | #lftp -u $USER,$PASS $HOST -e " | + | #lftp -u $USER,$PASS $HOST -e " |
if [ -f " | if [ -f " | ||
then | then | ||
- | echo " | + | echo " |
rm $torrentpath/ | rm $torrentpath/ | ||
fi | fi | ||
if [ -f " | if [ -f " | ||
then | then | ||
- | echo " | + | echo " |
rm $torrentpath/ | rm $torrentpath/ | ||
fi | fi | ||
if [ -d " | if [ -d " | ||
then | then | ||
- | echo " | + | echo " |
rm -rf $torrentpath/ | rm -rf $torrentpath/ | ||
fi | fi | ||
if [ -d " | if [ -d " | ||
then | then | ||
- | echo " | + | echo " |
rm -rf $torrentpath/ | rm -rf $torrentpath/ | ||
fi | fi | ||
fi | fi | ||
- | echo " | + | echo " |
#zenity on debian hangs, thus using this workaround to send the process into the background and kill it | #zenity on debian hangs, thus using this workaround to send the process into the background and kill it | ||
zenity --notification --text " | zenity --notification --text " | ||
</ | </ |
config/deluge.1493321469.txt.gz · Last modified: 2023/05/29 11:53 (external edit)