rmw (Remove to Waste)

FAQ

What is your release cycle?

It varies, averaging once or twice a year. If bugs are found and reported, a release will happen sooner depending on the severity. Upcoming releases can be tracked using the Milestones page. The dates may change but Andy tries to keep them as up-to-date as possible.

Can rmw replace rm? Can I alias rmw to rm?

I don’t recommend it. Many other utilities use rm in the background and you’d wind up with a very full trash can. Also, rmw doesn’t have the same command line option as rm.

How do I know if rmw is compatible with my Desktop trash?

When rmw moves a file to a waste or trash folder, it also writes a .trashinfo file to the corresponding trash directory. The default waste folder rmw uses is ~/.local/share/Waste, therefore rmw foo would result in

~/.local/share/Waste/files/foo
~/.local/share/Waste/info/foo.trashinfo

The contents of foo.trashinfo would look like this:

[Trash Info]
Path=/home/andy/src/rmw-project/rmw/foo
DeletionDate=2019-07-03T16:48:47

On most *nix and *BSD systems, the desktop trash has the same format, and is located in ~/.local/share/Trash. You can verify that the trashinfo format and directory layout is the same.

If you’re sure that your Desktop trash is compatible, you can add the appropriate line to your rmw configuration file, if desired (a config file is created in ~/.config/rmw when rmw is first run).

Does rmw work on Windows?

Not yet. There’s an open ticket for that.

Can I use wildcard and regex patterns with rmw?

Yes. For example:

rmw *.txt
rmw test[0-9].txt

Some complex regex expressions won’t work. If you’d like support for a particular pattern that doesn’t already work, please open a ticket.

 Edit or Improve this page

Valid XHTML 1.0!

Powered by jekyll

This website was last updated on Oct 9th, 2019