Giter VIP home page Giter VIP logo

__script_4_you__'s Introduction

script_4_you

This project contains scripts that automate some of the most boring yet time consuming and essential tasks.

Folder Manager:

CLI tool that allows user to arrange and compress directories

Requirements:

Python 3.x

Usage:

  1. Arrange by extension:

-e or --ext

python "path"\folder_manager.py -e "absolute path of directory to be arranged"

  1. Arrange by name:

-n or --name

python "path"\folder_manager.py -n "absolute path of directory to be arranged"

  1. Deep arrange:

-d or --deep

"path"\folder_manager.py -d "mode" "absolute path of directory to be arranged"

mode 1. arrange by name-> arrange by ext
mode 2. arrange by ext-> arrange by name
  1. Compress

-c or --compress

"path"\folder_manager.py -c "type of archive" "absolute path of directory to be arranged"

Supported archives: 1. "xztar" Slowest but maximum compression is achieved. Supported by default in linux only 2. "gztar" 3. "zip" Fastest and supported in windows, linux and mac. Lowest level of compression is achieved

example:python folder_manager.py -c zip E:\Desktop\python_programming\beginner_projects\dummyFolder

This would create an archived file of the specified directory in its parent folder. You may now choose to delete the original directory

Note :

  1. all the operations work for valid directory paths, not Files
  2. Currently only absolute path of directory is supported

__script_4_you__'s People

Contributors

pranav1812 avatar snehil-mittal avatar

Watchers

 avatar  avatar  avatar

Forkers

snehil-mittal

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.