user@DESKTOP:/mnt/d/TEMP$ find .
.
./archive.zip
./document.pdf
./picture.jpg
user@DESKTOP:/mnt/d/TEMP$ for F in *; do T=`file -b --mime-type "$F"`; mkdir -p "$T"; mv "$F" "$T/$F"; done
user@DESKTOP:/mnt/d/TEMP$ find .
.
./application
./application/octet-stream
./application/octet-stream/archive.zip
./application/pdf
./application/pdf/document.pdf
./image
./image/jpeg
./image/jpeg/picture.jpg