Skip to content

Python script that lets you sort files within a directory based on the file extension.

Notifications You must be signed in to change notification settings

gionnelapuz/python-directory-sorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Directory Sorter

Python script that lets you sort files within a directory based on the file extension. I have created two scripts for sorting and they are AutoSort.py and ManualSort.py.

  • AutoSort.py

    • The script will periodically check the folder and sort it without you needing to run the script over and over again, this is basically what I wanted so I just made this script
  • ManualSort.py

    • Lets you just calls the script once if you need to use it.

Requirements

How to use

Just replace the paths on the on the Settings variable to where the files should go based on their extensions

  • AutoSort.py

    • Start Script: pythonw.exe -c "from AutoSort import *; getInput('start')";

    • Stop Script: pythonw.exe -c "from AutoSort import *; getInput('stop')";

About

Python script that lets you sort files within a directory based on the file extension.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published