Giter VIP home page Giter VIP logo

delete_file's Introduction

file_way 删除文件方式

file_way = 1 按天数 file_way = 2 按剩余磁盘空间

over_days 设置多少天,即超过这个时间的文件将被删除。 retain_disk 设置硬盘保留空间,如果磁盘空间低于这个设置,将删除最早的文件。 path 定义需要删除的文件路径

config.cfg 配置文件改为.cfg格式,ini格式,windows下用记事本编辑会加入乱码,造成读取配置文件错误。

[set] file_way = 2 over_days = 100 retain_disk = 30 path = /Users/test

delete_file's People

Contributors

dossec avatar

Watchers

 avatar  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.