A command-line tool written in Python that helps clean up messy folders by automatically organizing files into structured directories based on their extensions and types.
Python File Sorter scans a selected directory and moves
files into grouped folders such as Images, Documents,
Videos, Archives and others, based on file
extensions.
os, pathlib, shutilargparse for CLIlogging for operation logsTo show that I can build practical automation tools, focusing on careful work with the filesystem and error handling.
argparse.# Sort files in the Downloads folder
python file_sorter.py --source "C:/Users/User/Downloads"
# Choose a custom target folder
python file_sorter.py --source "./incoming" --target "./sorted"