Giter Club home page Giter Club logo

funnytools's Introduction

funnytools

用python写的小工具

01. 目录文件分类

前言:

有时候,想要对一个目录里的文件进行搜索或者分类操作往往是一件痛苦的事情,下面这个程序的目的是将目录下的文件树以某种分类规则进行排列。

用法:

usage: classify.py [-h] [-t {ext,mtime,back}] directory

positional arguments:

directory 目标目录路径
optional arguments:
-h, --help show this help message and exit
-t {ext,mtime,back}, --type {ext,mtime,back}

效果:

   ├── bin<br/>
   ├── css<br/>
   ├── db<br/>
   ├── default<br/>
   ├── gif<br/>
   ├── gitattributes<br/>
   ├── gitignore<br/>
   ├── htaccess<br/>
   ├── jar<br/>
   ├── js<br/>
   ├── json<br/>
   ├── lib<br/>
   ├── log<br/>
   ├── md<br/>
   ├── php<br/>
   └── yml<br/>`

funnytools's People

Contributors

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