Giter Club home page Giter Club logo

directory_organizer's Introduction

About Directory Organizer

This script is all about organizing files. My intent here is to make a organizer script that's easy to understand, yet fills your needs. It's really easy to edit to your needs!

Example:

 # Folder name in code: Folder name in file explorer
    folders = {
	    "images": "vincents_images",
	    "audio": "my_music"
    }
    
    # File extension: Folder name
    actions = {
	    ".png": folders["images"],
	    ".jpg": folders["images"],
	    ".wav": folders["audio"],
	    ".mp3": folders["audio"]
    }

In this example I have two folders, one named "vincents_images" and one named "my_music". The idea here is that the key in the folders dictionary is the name that will be referenced in the actions dictionary and in the rest of the code. The value in the dictionary is the name you want your folder to have on your system (your actual folder name).

How to install

  • Download the python file from the github repository.
  • use git - git clone https://www.github.com/vincent-gustafsson/direcotry_organizer

How to run

Run the python script

  1. Open the terminal.
  2. Make sure you are in the correct directory.
  3. Type ``python organizer.py´´

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.