This code will organize your folder in a systematic way.
Just run this code and enter your directory path that you want to organize.
This will create the following folders in that particular folder:
- Documents: which contains files with (.doc) and (.docx) extensions.
- PDFs: which contains files with (.pdf) extensions.
- Text Files: which contains files with (.txt) extensions.
- Images: which contains files with (.jpg), (.jpeg), (.png) and (.gif) extensions.
- Spreadsheets: which contains files with (.xls), (.xlsx) and (.csv) extensions.
- Presentations: which contains files with (.ppt) and (.pptx) extensions.
- Videos: which contains files with (.mp4) and (.avi) extensions.
- Others: which contains files with other than above extensions.
Language: Python
Modules used: Tkinter, os, sys
For demo video follow the link: Video Link