Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
rmw is unable to use the system trash folder on a Mac #213
I may need to do some work to have rmw be able to access the system (desktop) trash on a Mac. I confess I never gave it any thought before. People have told me it worked it on a Mac, but I'm not sure any Mac user ever tried it with their system trash.
I found a little preliminary info by searching... Apparently your system trash is stored in ~/.Trash.
rmw creates ".trashinfo" files though, the same method the desktop trash on Linux uses. Is the layout of your Trash directory something like this?
The format of a .trashinfo file looks like this:
If the structure of your ~/.Trash doesn't match with the above description, you're still safe to use rmw, but don't add your ~/.Trash folder to the config file. You'll notice the default directory specified in the config file is ~/.trash.rmw.
As for the trash on different filesystems or removable devices, that's another matter. Right now, rmw can use any folder on any filesystem once it's created, but the goal is having it more "automatic" (see also #134).