ITADN

Seems to have deleted all of my trashed files

#370OpenNikNikovsky 创建于 2025-08-18
N
NikNikovskycommented
**Describe the bug** I was trashing the files using a sorter script like usual and then realize that I accidentally deleted a file, so naturally I go to the Trash folder. Empty. I do trash-list Empty. **trash-cli version** 0.24.5.26 **Are you using the latest version of trash-cli?** Yes **Have you tried if the bug is present in the latest version of trash-cli?** Yes **Please, install the latest version of trash-cli and try again before submitting the bug** First of all you need to uninstall any previous version of trash-cli:: $ [sudo] pip uninstall trash-cli # remove the previous version (with pip) $ [sudo] apt-get remove trash-cli # remove the previous version (with apt) $ [sudo] yum uninstall trash-cli # remove the previous version (with yum) $ ... # refer to the package manager of your distribution Then install the latest version from git:: $ pip install pip install git+https://github.com/andreafrancia/trash-cli Have [you] done that? Then continue with the bug report. Yes **Operating system:** - OS: Arch Linux **To Reproduce** Copy and paste the commands (and their output) to execute in order to reproduce the behavior: I had a script with this argument: os.system(f'trash "{current_photo}" I go to check the trash-list, nothing **Expected behavior** A list of files
4 条评论