Skip to content

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

License

Notifications You must be signed in to change notification settings

brochj/BrockOrganizer-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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', ... ]
     }

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages