File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868
6969If 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
72100Setting up scheduled tasks
73101-----------------------------
You can’t perform that action at this time.
0 commit comments