System Grab Bag

View all TLDR pages from Linux (or from all pages)

trashy

An alternative to rm and trash-cli written in Rust. More information: https://github.com/oberblastmeister/trashy.
  • Move a specific file to the trash:
    trash {{path/to/file}}
  • Move specific files to the trash:
    trash {{path/to/file1 path/to/file2 ...}}
  • List items in the trash:
    trash list
  • Restore a specific file from the trash:
    trash restore {{file}}
  • Remove a specific file from the trash:
    trash empty {{file}}
  • Restore all files from the trash:
    trash restore --all
  • Remove all files from the trash:
    trash empty --all

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.