7 ms·
For Linux users: also look into the trash-cli [1] package, which complies with the FreeDesktop.org trash specification and remembers the original path, etc. so
by WCSTombs 8y ago
For Linux users: also look into the trash-cli [1] package, which complies with the FreeDesktop.org trash specification and remembers the original path, etc. so that trash items can be restored even with filename collisions. Then it's
trash-put my_file.txt
[1] https://github.com/andreafrancia/trash-cli https://github.com/andreafrancia/trash-cli
- pizza234 8y agoUntil at least an year ago, the Ubuntu version (and likely, the upstream on), wouldn't work on certain filesystems. I'm not sure about the current state, but one needs to test is very carefully before using it.
- floatingatoll 8y agoWhich filesystem were you using when you encountered trouble with it? What happened when you tried to use it? Did it warn you about the filesystem issue? Did it delete rather than trash?
- pizza234 8y agoI think the problem was with Btrfs subvolumes. There are old bugs filed on Ubuntu, not sure if they're current, e.g. https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1442649 https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1442....