Code Monkey home page Code Monkey logo

bundlezip's Introduction

bundleZip

#allisnone

该工具用于批量压缩证据文件,基本设计逻辑:以10G为例,做基准 1、按照日期处理和失败证据,以每日为基准分三类: 第一类:单日证据文件非常巨大,比如大于基准的50% --15G,该日分拆压缩:18G,分两个压缩包10G,8G;30G分三个压缩包,以此类推。 第二类: 单日证据文件较大,超过基准,比如10G-15G,直接压缩该日,仅压缩一个压缩包 第三类: 单日证据文件较小,多日合并压缩,按时间排序,每10G压缩一次,每个压缩包不超过10G压缩。 2、脚本分主要分两步: 第一步;通过shell 命令获取证据文件大小和时间信息 第二步: 根据得到以日为单位的证据大小信息,按照上面的分类分别做压缩。

3、会做/var目录“爆满”保护,当检测到该目录空间小于10%时,不会在压缩。

bundlezip's People

Contributors

allisnone avatar

Watchers

James Cloos 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.