If any of you use Linux or Mac (even Windows, but I'm talking about *nix today) and download lots of stuff then you know how messy it can get really quick even if you try to stay organized.
I have written a shell script to organize your lose files in your home downloads folder fairly intuitively. It first checks for my preset directory tree to be built inside the downloads folder with sections: Archives, Audio, Video, Documents, Images and Installers with many preset sections inside each directory for the different file types. For example you would find .pdf files inside ...Documents/pdf... or .txt files in Documents/txt etc... If the directories are not found it creates them.
It then searches for a large list of preset file extensions in the main Downloads folder non-recursively and then checks the destination folder to see if the file already exists, if not it will then move the file to the destination. If the file is already there it will ask what you would like to do with the file: Replace, Delete or Do Nothing. This seems like a lot (I'm a good enough coder to turn 2600 lines of code into 200 :D ), but the folder checking literally takes less than 1 second (probably 500 ms) and the search for files takes less than a couple. Search is used with 'find' at -maxdepth 1 (for non-recursive).
This script is easily editable if you are familiar with *nix shells, directories and file types can be added accordingly. You can really pull my functions and and use in any type of folder organization.
This is open-source code; you may use in your home or business, but any use in any sell-able product is strictly prohibited unless I have given permission.
Script code below, header is for bash (#!/bin/bash), but I am sure this is POSIX friendly and doesn't need a head so strip the BASH header for non bash shells.
If you do not already know how to use scripts then this script is probably not for you, but if you need help running and are willing to learn then please ask away; I'll help.