Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 654 Bytes

README.md

File metadata and controls

5 lines (5 loc) · 654 Bytes

Many people have a folder on their desktop called something like "Disassemble". As a rule, hands never manage to disassemble this folder. Therefore, for your convenience, this script has been developed that will parse this folder. This application checks the file extension (the last characters in the file name) and, depending on the extension, decides which category to assign the file to. The script takes one argument at startup — the name of the folder in which it will sort. The file with the program is called sort.py, then to sort the /user/Desktop/Junk folder, you need to run the script with the command python sort.py /user/Desktop/Junk