Skip to content

Commit 36280ec

Browse files
Added uninstall tutorial
1 parent 0b01c85 commit 36280ec

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

README.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,34 @@ Run
6868

6969
If you just want to see which torrents can be removed but don't want to really remove them, use --view command line argument.
7070

71+
Uninstall
72+
----------
73+
However, the *setup.py* program doesn't provide the uninstall options, so you need to remove all the files manually.
74+
75+
Step1
76+
++++++
77+
::
78+
79+
cd autoremove-torrents
80+
81+
Step2
82+
++++++
83+
Reinstall the program and record a list of installed files::
84+
85+
python3 setup.py install --record files.txt
86+
87+
Step3
88+
++++++
89+
Use *xargs* to remove each file::
90+
91+
cat files.txt | xargs rm -rf
92+
93+
Or if you're running Windows, use Powershell::
94+
95+
Get-Content files.txt | ForEach-Object {Remove-Item $_ -Recurse -Force}
96+
97+
Reference: https://stackoverflow.com/questions/1550226/python-setup-py-uninstall
98+
7199

72100
Setting up scheduled tasks
73101
-----------------------------

0 commit comments

Comments
 (0)