/BrockOrganizer-Python

Organize Files with Python. The script creates a folder for each extensions type. Eg: Files .jpg .jpeg .png go to /Images/ folder

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Organize Files with Python

@author: Oscar Broch - Github

Created on May 27, 2018
Last Update: July 22, 2019
based on: junk file organizer python

  • How to use

    1. Put the script inside the folder that you want to organize.

    2. Run the script.


  • Screenshots

    • Before run the script
      Before
    • During
      during
    • After run the script
      after

  • Adding more extensions files

  • Just add your extension inside the existing list.

    EXTENSIONS = {
        "EXECUTABLES": ['.exe', '.msi', '.jar', '.apk', ..., '.YOUR_NEW_EXTENSION' ],
        "IMAGES": ['.jpeg', '.jpg', '.tiff', '.gif', ..., '.YOUR_NEW_EXTENSION' ],
        "VIDEOS": [".avi", ".flv", ".wmv", ".mov", ... ],
        "DOCUMENTS": ['.txt', '.epub', '.pages', '.docx', ... ],
        "PDFS": ['.pdf'],
        "COMPRESSED": ['.rar', '.zip', '.7z', '.bzip2', ... ],
        "SCRIPTS": ['.ahk', '.js', '.json', ... ],
    }

or

  • Create your new category adding a new key inside the dictionary

     EXTENSIONS = {
         "EXECUTABLES": ['.exe', '.msi', '.jar', '.apk', ... ],
         "IMAGES": ['.jpeg', '.jpg', '.tiff', '.gif', ... ].
         ...
         ...        
         "YOUR_CUSTOM_FOLDER_NAME": ['.exe','.jpeg','.json', '.example1', ... ]
     }