andreafrancia / trash-cli

Command line interface to the freedesktop.org trashcan.
GNU General Public License v2.0
3.63k stars 177 forks source link

add uninstall.sh #154

Closed ywsswy closed 3 years ago

andreafrancia commented 3 years ago

Thank you for your patch. Unfortunately it's not needed because you can use pip uninstall trash-cli to uninstall.

andreafrancia commented 3 years ago

I have updated the README adding the uninstall instructions.

ywsswy commented 3 years ago

Thank you for your patch. Unfortunately it's not needed because you can use pip uninstall trash-cli to uninstall.

thank you, but i install from sources python3 setup.py install --user. use python3 -m pip uninstall trash-cli can not remove files below:

$ ll ~/.local/bin/
total 28
-rwxr-xr-x 1 users 124 Sep  2 15:26 trash
-rwxr-xr-x 1 users 126 Sep  2 15:26 trash-empty
-rwxr-xr-x 1 users 125 Sep  2 15:26 trash-list
-rwxr-xr-x 1 users 124 Sep  2 15:26 trash-put
-rwxr-xr-x 1 users 128 Sep  2 15:26 trash-restore
-rwxr-xr-x 1 users 123 Sep  2 15:26 trash-rm
$
andreafrancia commented 3 years ago

Run this:

rm -fv ~/.local/bin/{trash,trash-empty,trash-list,trash-put,trash-restore,trash-rm}