Skip to content
/ wrm Public

Remove files or directories.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

9yokuro/wrm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wrm - Remove files or directories

workflow_build Crates.io Version

Installation

Run the following Cargo command:

cargo install wrm

Usage

To move files to trash($HOME/.local/share/wrm/trash):

wrm foo bar ...

To destroy files:

wrm --destroy ~/.local/share/wrm/trash/foo ~/.local/share/wrm/trash/bar ...

To restore files in trash to where they came from:

wrm --restore ~/.local/share/wrm/trash/foo ~/.local/share/wrm/trash/bar ...

To list all files and directories in trash:

wrm --list

To delete all files and directories in trash permanently:

wrm --empty

Options

-n, --noninteractive  Do not prompt whether to change destinations
-q, --quiet           Do not print log messages
-h, --help            Print help
-V, --version         Print version

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

TODO

  • Add shell completions
  • Add auto empty
  • Multiplatform support
  • Optimize performance

About

Remove files or directories.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages