0.24.4.17 (68c34e0a): User visible changes: - trash-put --help shows also other commands (Joseph Masone) - trash-restore prints a message when no file are restored: "No files were restored" (lukasvrenner) - fix a regression that would crash `trash-list --volumes` at every launch - add `fuse.gocryptfs` to the mount_points to the list of allowed filesystems (Maxim Baz) - Fix a bug that would trash a link destination instead of trashing the link when the file to be trashed contains trailing slashes. - fix typos/grammar in man pages (qadzek) - improved shell TAB-completion (Giuseppe Stelluto) Work on the tools: - made GitHub Actions workflows to work again - updated the actions versions in GitHub Actions - made the tests work again against python 2.7 - fixed the tox configuration (in some cases it would run python 2.7 tests on python 3!) - made the type checker happy again - the tarball created by python -m build sdist changed name, a dash "-" became a underscore "_"; before was "trash-cli-version.tar.gz" now we have: "trash_cli-version.tar.gz". The affected scripts has been updated to accomodate this change 0.23.11.10 (68c34e0a): - use enum34... - mypy - trash-put clearer error messages 0.23.9.23 (ae690713) - man page trash-put.1 will also document trash-dirs locations (Joel Pereira) - fixed typos in man page trash-put.1 (Joel Pereira) - removed python 2.7 from the list of tested platforms (as GitHub Actions no longer support this Python version) - add MyPy checks to the GitHub Action test workflow - improved error message when TrashInfo is not parsable in trash-restore - suggested to use pipx in README.md (bryango) - add instruction for installation on Fedora (Mohammed Eshan) - get back `--` the command ending for trash-put (@laggardkernel) - fixed typos (David Auer) - check info target trash folder non-exists Tin Lai 0.22.10.20 (07674600): - Made visible option -v/--verbose of trash-empty - Andrea Francia - Documented how completion works in README - Wu Zhenyu - Change: now if a file does not exists it does not tries to delete it using all available trash dirs - Andrea Francia - Removed an error that would occur on trash-put when HOME environment is not set - Andrea Francia - Whitelisted fuse.glusterfs filesystem - Andrea Francia - Add tox 0.22.10.4.4: - Revisited the trash-put log messages - Add shell completions by shtab - Feature: trash-empty learnt the --verbose option - Feature: trash-empty learnt the --dry-run option - Change: add six as a requirements - Change: add 'fuse' to the list of "physical" file system types - Change: now trash-put uses ArgumentParser instead of OptionParser - Add more debugging messages to trash-put when it fails to trash a file. - Change: trash-empty now uses lexists (instead of exists) to check if a file is not existent before removal - Add `trash-list --python` to print the python executable 0.22.8.27: - from now partitions with fs in ['nfs4','btrfs'] are considered physical volumes - also partitions mounted on /tmp with tmpfs will be considered physical volumes - `trash-list --all-users` to see trash from all users 0.22.8.21.16: - Now supports p9 (WSL 2 volumes) as location for trash dirs - trash-list --volumes to list all the recognized volumes - trash-list --debug-volumes - Fix links to trash specification David Auer 0.22.8.21: - fix a bug that made `trash-list --size` to crash if it found a broken link in the trash directory files pull request https://github.com/andreafrancia/trash-cli/pull/233 thanks to: https://github.com/jamescherti - trash-empty do not list trash directories that does not exist pull request https://github.com/andreafrancia/trash-cli/pull/237 thanks to: https://github.com/jack1142 - Fix trash-empty not showing nfs mountpoints pull request: https://github.com/andreafrancia/trash-cli/pull/230 thanks to https://github.com/masgouri - Fix perms for user's trash folder pull request: https://github.com/andreafrancia/trash-cli/pull/239 thanks to https://github.com/jack1142 0.22.4.16: - trash-restore exits gracefully if the user enters Ctrl+D, thanks to https://github.com/mtoohey31 0.21.10.24: - trash-empty detect when input is interactive and asks before emptying trash - trash-empty learnt the -i/--interactive option - trash-empty option --all-users is no longer hidden 0.21.7.24: - fix bug in tests 0.21.7.23: - fix bug in tests (see https://github.com/andreafrancia/trash-cli/issues/210) 0.21.6.30: - `trash-empty --help` now shows only the command basename and not the full path to the command. - Now `trash-empty` honors multiple --trash-dir options - trash-empty learnt the hidden option --print-time and now uses TRASH_DATE environment variable if present - trash-empty learnt the --all-users option 0.21.5.25: - now trash-put honors the -i option (also the --interactive one) 0.21.5.22: - trash-rm: fixed pattern matching for absolute paths, fixes https://github.com/andreafrancia/trash-cli/issues/124 0.21.5.20: - add (hidden and undocumented) --files option to trash-list 0.21.5.11: - trash-put also accept -vv for enabling debug prints - add (hidden and undocumented) --size option to trash-list 0.21.4.18: - fix bug #166 'trash goes into an infinite loop when trashing files with a long filename' - trash-list learnt the `--trash-dir` option - trash-restore now supports relative paths in argument (fixes #165) - trash-list shows all partitions including not physical @KSR-Yasuda (https://github.com/andreafrancia/trash-cli/pull/178) 0.20.12.26: - trash-restore learnt --trash-dir option - add simplified Chinese README - trash-restore now uses 'date' as the default sort argument - Add to README the installation with apt - trash-restore now supports range select 0.20.11.23: - switched to psutil for listing volumes 0.20.11.7: - trash-put learned a --trash-dir option that can be used to specify the trash directory to be used as destination - trash-put -f now ignores files and dirs that do not exist (Don Cross) - trash-restore learnt --sort=(date|path|none) option (Self-Perfection) - trash-restore: support restoring multiple files (arendu) - README: now recommend using `pip` for installing trash-cli 0.17.1.14: - Fix a bug that causes trash-put to use $topdir/.Trash/UID trashcan even when it is not secure and $topdir/.Trash-UID should be used instead. 0.17.1.12: - Fix a bug in detecting right volume of home trash dir, if home Trash dir is a symbolic link, and in detecting volume of file to be trashed when it is specified as contained in a directory that is a symbolic link that crosses volumes boundaries (#38) - Make some code python 3 compatible - Fixed README. 0.17.1.1: - Now trash-rm supports full path matching, using a pattern starting with slash '/' Fix #67 - Fix typo in trash-rm(1) man page - Add a reference to trash-rm(1) to all man pages - Fix inconsistent apostrophes - Add support for --trash-dir option to trash-empty 0.16.12.29: - trash-rm no more crashes on .trashinfo files without Path (#69) 0.16.12.28: - Fix #48 trash-empty crashes on directories without read permission 0.16.12.26: - Fix #52 Almost all commands crash with python 2.7.10 0.16.12.25: - Now trash-restore accepts a /specific/path - Now integration tests should pass also in a linux box. Fix #61 - Now all command outputs will report the right up-to-date location for issue reporting (#39) - Add input validation in trash-restore - Renamed restore-trash to trash-restore - Fixed bug (trash-put creates $topdir/.Trash even if it should not) - Fixed bug (trash-put uses $topdir/.Trash/$uid even if unsecure) - Minor changes to man pages. 0.12.9.14: - Switched to distutils.core (instead of setuptools) - Now `trash-put -v` will warn if it found an unsticky .Trash dir. - New trash-rm command - (Internal) Switched from realpath to abspath 0.12.7: - fixed: trash-empty crashed with GetoptError in short_has_arg(): option -2 not recognized (see https://bugs.launchpad.net/ubuntu/+source/trash-cli/+bug/1015877 ) - fixed inclusion of README.rst when creating distribution package 0.12.6: - add Donate button on README 0.12.4.24: - Fixes a packaging problem of the previous release which prevented the installation via easy_install and/or pip (see https://github.com/andreafrancia/trash-cli/issues/5) - Fixes the name of the man page for restore-trash. 0.12.4: - Reintroduced `trash` command as alias to `trash-put` - Now trash-list checks for $topdir/.Trash having sticky bit and not being a symlink and warns when these requirements are not met. - Now trash-list handles empty, unreadable or malformed .trashinfo - Now `trash-empty ` skips .trashinfos with invalid DeletionDates - Removed Unipath dependency - Switched from googlecode to github - Removed tests written in Bash - Complete rewrite of trash-list and trash-empty 0.11.3: - Now works also on Mac OS X - Fixed #55: restore-trash sets all-write permissions for the destination directory - Volumes detection: Now uses "df -P" output as fallback when getmnt fails. - Fixed #54. Now restore trash refuses to overwrite a file. Used code adapted from a patch written by Christian.Oudard 0.11.2: Fixed #45: Cannot build RPM package with 0.11.1.2 0.11.1.2: Fixed problems running setup.py 0.11.1: Updated version number to make easy_install happy 0.11.0: Fixed serious bug in trash-put: now the dot `.' and dot-dot `..' are skipped.