Coder Social home page Coder Social logo

goremove's Introduction


把垃圾文件放入回收站

适用于 Linux、macOS

目前实现功能

  • 直接删除文件
  • 直接回收文件
  • 基于用户自定义大小判断文件多大直接删除
  • 撤销删除
  • 清空回收站

安装


项目使用 Go 语言,可以直接下载发布的二进制文件,也可以使用下面的一件安装脚本

下载二进制文件放入 /usr/loacl/bin 目录下,把 conf.yml 文件放入 $HOME/.config/goremove/ 这个路径下

使用方法


  • 基于配置文件中定义的文件大小,如果需要删除的文件大于定义的大小,则会直接删除,无法恢复
grm [file]
  • 直接删除文件,不论大小
grm -r [file]
  • 直接把文件放入回收站,不论大小
grm -m [file]

goremove's People

Contributors

qianmianyao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.