Command Line rm recycle bin in linux/mac -- rmtrash

Source: Internet
Author: User

Command Line rm recycle bin in linux/mac -- rmtrash

The command line of linux and mac does not have the recycle bin function. In many cases, an important file is sent to rm-fr * When the hand shakes. Although it may be retrieved through lost + found/debugfs in linux, however, it is difficult and cannot be recovered. People will always make mistakes. I have also made three mistakes in my work over the past few years after rm-fr was deleted and regretted. It is better to prevent them from happening, add a recycle bin mechanism like a desktop operating system (windows, mac OS, and Ubuntu). After several days of efforts, you can finally implement it on github. welcome to use it.

Rmtrash is the command line version rm recycle bin in linux and mac. It is transparent to users after installation,

 

Reminder: rmtrash is mainly used to prevent accidental deletion. the recycle bin itself cannot replace the normal data backup operations of the system. Data Backup is still very important.

Lai Zhang:

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.