Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 738 Bytes

README.MD

File metadata and controls

11 lines (10 loc) · 738 Bytes

Extension File Sorter by Oleksandr Smyrnov

  • Taking '-s' or '--source' parameter for one obligatory command line argument which indicates the source folder.
  • All files in the folder and subfolders are sorted by widely-known extensions.
  • Folders: 'documents', 'archives', 'video', 'music', 'unknown'. These folders are excluded from sorting.
  • Folder 'unknown' is for files with unknown extensions.
  • You can either sort or not sort 'unknown' files. Select the option at the beginning of thescript execution.
  • Empty folders are deleted.
  • You can add your own extensions and folders to the code in main() function.
  • Archives are extracted to 'archives' folder.
  • At the end, script showing lists known and uknown extensions and files.