[Sorry for filing this in the wrong product, but there seems to be no xdg-utils component.] Most of the time I'm doing my file management in the shell, where `rm' means dead and gone forever. I'd love to see a command line tool facilitating the freedesktop.org trash bin. I would imagine it to work like this: # Move baz.txt to the trash bin $ xdg-trash /foo/bar/baz.txt # Move the whole bar directory to the trash bin $ xdg-trash /baz/bar/ # List the trash bin's contents (lists the original locations) $ xdg-trash --list [1] /foo/bar/baz.txt [2] /baz/bar/ # Restore the bar directory $ xdg-trash --restore 2 # Empty the trash bin $ xdg-trash --empty
The product for xdg-utils is Portland, moving there.
That's interesting, I will try to work on it in the next days.
At the moment it exists trash-cli for this purpose. You can find it here: http://www.andreafrancia.it/trash/
fd.o spec: http://www.freedesktop.org/wiki/Specifications/trash-spec
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/29.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.