Skip to content

dink42/Python-Automation-FileOrganizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Organize files

Sorting files in etc Downloads

Tip

Check out Tim on youtube if you like python and projects like this. He is really good providing ideas you can do!

Note

You will have to run the python file every time you want to clean up your downloads folder. I have fixed the script so the base file wont be touched. Just open the python file, with the Downloads directory and run the script and see the satisfying script take all the files get sorted and appended to folders on category. If you don't have any programming experience, the const

  • SUBDIRECTORIES = { "DOCUMENTS": ['.pdf', '.rtf', '.txt', '.docx', '.csv'], "AUDIO": ['.m4a', '.m4b', '.mp3'], "VIDEOS": ['.mov', '.avi', '.mp4'], "IMAGES": ['.jpg', '.jpeg', '.png'], "EXCECUTABLES": ['.exe', '.zip', '.msi', '.gz'], "CODE": ['.java', '.cs', '.go', '.cpp'], "WEB": ['.html', '.css', '.js', '.ts'] }.
  1. Just change the names for example:
  • SUBDIRECTORIES = { "DOCUMENTS": ['.pdf', '.rtf', '.txt', '.docx', '.csv'], "MUSIC": ['.m4a', '.m4b', '.mp3'], "CORN": ['.mov', '.ogg', '.mp4'], Joking "IMAGES": ['.jpg', '.jpeg', '.png'], "EXCECUTABLES": ['.exe', '.zip', '.msi', '.gz'], "CORN": ['.java', '.cs', '.go', '.cpp'] DELETE text if you don't want folder or this category as folder, remove the "," on the last line. "WEB": ['.html', '.css', '.js', '.ts'] }
  1. make another folder name, add/remove any '.file' to your liking. Easy as that. Or remove a whole line in the dict.

About

Fun project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages