Sort Files is a Python script that helps you organize files in a source directory by moving them into specific folders based on their file types. This can be especially useful for cleaning up yout file system.
- Organize files into the following categories:
- Images
- Executables
- PDFs
- DOCX documents
- ZIP archives
- Videos
Modify the code as per your needs
- To download the code
-
git clone https://github.com/0smic/sort-files
- To Run the code
-
cd sort-files python main.py -d your_dir_path Or python main.py --dirpath your_dir_path
-