An open API service indexing awesome lists of open source software.

https://github.com/majormilk/downloads-folder-auto-sort

This program is designed to go through your downloads folder and sort files based on file extensions.
https://github.com/majormilk/downloads-folder-auto-sort

csharp file-sorting windows-forms-csharp

Last synced: about 1 month ago
JSON representation

This program is designed to go through your downloads folder and sort files based on file extensions.

Awesome Lists containing this project

README

          

# Downloads-Folder-Auto-Sort
![DownloadsFileManager_CirFDmDJrJ](https://user-images.githubusercontent.com/115612092/222862879-a53d0b75-5617-4375-80bc-c342bfcc77c6.png)

This program is designed to go through your downloads folder and sort files base on file extensions.

It is also cusomizable, meaning to add an extension to be sorted, it is as simple as adding ".example" to one of the the following arrays

private string[] audioExtensions = { ".mp3", ".wav", ".wma", ".aac", ".m4a", ".flac", ".ogg", ".opus", ".alac", ".aiff", ".dsd", ".dsf", ".dff" };

private string[] videoExtensions = { ".mp4", ".mov", ".avi", ".wmv", ".mkv", ".flv", ".webm", ".m4v", ".mpeg", ".mpg", ".3gp", ".3g2", ".ogv", ".qt", ".rm", ".rmvb", ".vob", ".asf", ".divx", ".swf" };

private string[] imageExtensions = { ".jpg", ".jpeg", ".png", ".bmp", ".gif", ".tiff", ".svg", ".webp", ".ico", ".jfif", ".pjpeg", ".pjp" };

private string[] documentExtensions = { ".doc", ".docx", ".ppt", ".pptx", ".xls", ".xlsx", ".pdf", ".rtf", ".txt", ".csv"};

private string[] compressedExtensions = { ".zip", ".rar", ".7z", ".gz", ".tar", ".bz2", ".xz", ".z", ".tgz", ".tbz2", ".txz", ".tlz", ".lzma", ".cab", ".iso", ".dmg" };

private string[] executableExtensions = { ".exe", ".msi", ".bat", ".cmd" };

private string[] modelExtensions = { ".stl", ".obj", ".fbx", ".3ds", ".ply", ".dae", ".glb", ".gltf", ".3mf" };

to add a new category of things would be more involved but could be done through the following steps...

1: Create a new array containing the extensions you want.

2:Create a private string for the destination of that type of file (private string exampleDestinaion)
-Also specify the path there "C:\Folder"

3:Add a foreach loop in the UpdateDictionary() function. It should be linked with the ascociated destination.

Thats it

The default destinations are:

the Music, Videos, Pictures, Documents folders

and folders inside the the downloads folder called Compressed, Executables, and 3dModels