Giter Site home page Giter Site logo

mnestorov / file-classifier Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 78 KB

The File Classifier is a Python script that monitors a specified directory (typically the Downloads folder) and automatically organizes files into different folders based on their file types.

License: MIT License

Python 99.36% Shell 0.64%
classifier file-classifier python-script classification file-manager fileclassify filemanager python

file-classifier's Introduction

Hi there ๐Ÿ‘‹

Website

I'm ะฐ web developer with 10 + years of experience. I've been building PHP / Laravel and WordPress driven multisites. My job description includes developing custom solutions, planning and building websites architecture and integrating services with PHP / Laravel or WordPress.

Beside's web programming, I enjoy traveling ๐Ÿš€.

More about me:

  • ๐Ÿ’ผ Senior PHP Developer @ Smarty Studio
  • ๐Ÿ’ฌ Ask me about PHP, Laravel, WordPress
  • ๐ŸŒฑ Iโ€™m currently learning React
  • ๐Ÿ’ป Linux user

Tech stack:

HTML5 CSS3 SASS Less JavaScript jQuery Chart.js Json Bootstrap NPM Webpack PHP Laravel Livewire WordPress Apache Nginx MySQL MariaDB Redis Docker Git Shell Script Markdown

Tools stack:

GitHub Bitbucket Jira Confluence Slack Visual Studio Code PhpStorm Postman Google Chrome

Cloud Hosting:

Digital_Ocean Hetzner

Operating system:

Linux Ubuntu

Hardware:

Dell_Laptop

Support Me

Your support is greatly appreciated and will help ensure all of the projects continued development and improvement. Thank you for being a part of the community!

Stripe PayPal


This repository is unlicense[d], so feel free to fork!

file-classifier's People

Contributors

mnestorov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

file-classifier's Issues

Not an issue, more of a suggestion

I find the list of extension quite limited.
I have put together a quite more extensive ;list, I dont know if you'd like to implement it in the code. I will in my fork.
here it is:

file_extensions = {
    "Audio": [
        ".mp3", ".wav", ".flac", ".aac", ".ogg", ".wma", ".aiff", ".au", ".m4a", ".mp2",
        ".mpc", ".opus", ".ra", ".raw", ".vox", ".wv", ".webm", ".8svx", ".cda", ".mid",
        ".midi", ".mod", ".mpa", ".oga", ".s3m", ".spx", ".3ga", ".aax", ".ac3", ".amr",
        ".ape", ".asf", ".ast", ".awb", ".dts", ".flp", ".gsm", ".iklax", ".ivs", ".m3u",
        ".m4b", ".m4r", ".mmf", ".msv", ".nmf", ".nsf", ".nwc", ".pcm", ".qcp", ".tta"
    ],
    "Video": [
        ".mp4", ".avi", ".flv", ".mov", ".wmv", ".mkv", ".m4v", ".mpg", ".mpeg", ".vob",
        ".rmvb", ".ogv", ".3gp", ".3g2", ".drc", ".gifv", ".m2v", ".ogx", ".svi", ".yuv",
        ".264", ".3gpp", ".asx", ".bik", ".braw", ".divx", ".dv", ".evo", ".f4v", ".flc",
        ".h264", ".hevc", ".m2ts", ".m8", ".mnv", ".mts", ".nsv", ".nuv", ".pva", ".r3d",
        ".rl2", ".roq"
    ],
    "Images": [
        ".jpg", ".jpeg", ".png", ".gif", ".bmp", ".tiff", ".psd", ".eps", ".ai", ".indd",
        ".raw", ".cr2", ".nef", ".orf", ".sr2", ".dwg", ".dxf", ".heif", ".ico",
        ".jng", ".jxl", ".pbm", ".pcx", ".pict", ".apng", ".avif", ".bpg", ".cgm",
        ".cmx", ".dib", ".djv", ".flif", ".hdr", ".hrz", ".ilbm", ".lbm", ".miff",
        ".niff", ".nol", ".pam", ".pcd", ".pgm", ".ppm", ".ras", ".sgi", ".tga", ".wbmp",
        ".xpm"
    ],
    "Vectorial Images": [
        ".svg", ".cdr", ".eps", ".ai", ".afdesign", ".avit", ".e2d", ".fig", ".sk", ".sk1", ".sxd", ".v2d",
        ".vml", ".wmf", ".xar", ".xcf", ".vsd", ".ppt", ".odg", ".svgz", ".drw", ".emf",
        ".gt2", ".hpgl", ".iges", ".mgcb", ".plt", ".rdp", ".sda", ".sdr", ".stl", ".svf",
        ".swf", ".tikz", ".wmz", ".xaml", ".xd", ".xmind", ".3dv", ".amf", ".art", ".asc",
        ".bvh"
    ],
    "Installers": [
        ".exe", ".msi", ".dmg", ".pkg", ".deb", ".rpm", ".appimage", ".run", ".bat", ".cmd",
        ".bin", ".app", ".gadget", ".jar", ".wsf", ".aam", ".air", ".appx", ".awb", ".crx",
        ".ipk", ".isu", ".job", ".jse", ".tar.gz", ".tgz", ".bz2", ".lz", ".lzma", ".lzo",
        ".xz", ".z", ".7zip", ".ace", ".afa", ".alz", ".arc", ".arj", ".bz", ".cabinet",
        ".cpio", ".dar", ".dd", ".ear", ".gca", ".ha"
    ],
    "Documents": [
        ".doc", ".docx", ".pdf", ".txt", ".odt", ".rtf", ".xls", ".xlsx", ".pptx",
        ".odp", ".ods", ".md", ".epub", ".djvu", ".mobi",
        ".azw", ".azw3", ".fb2", ".ibooks", ".cbr", ".cbz", ".abw", ".ans", ".asc", ".aww",
        ".ccf", ".chm", ".clkw", ".docm", ".dot", ".dotx", ".egnt", ".fdx", ".ftm", ".ftx",
        ".gdoc", ".hwp", ".hwpml", ".log", ".lwp", ".mbp", ".me", ".nbp", ".neis", ".nq"
    ],
    "Archives": [
        ".zip", ".rar", ".7z", ".tar", ".gz", ".apk", ".arj",
        ".cab", ".iso", ".jar", ".part", ".pea", ".s7z", ".sit",
        ".sitx", ".zipx", ".zoo", ".war", ".cdx", ".cso",
        ".dgc", ".hki", ".ice", ".j", ".lha", ".lzh",
        ".lzx", ".pak", ".rar5", ".rk", ".sen", ".sfx", ".shar", ".sqx", ".uue", ".warc"
    ],
    "Programming": [
        ".py", ".js", ".java", ".c", ".cpp", ".cs", ".php", ".rb", ".swift", ".go", ".ts",
        ".pl", ".lua", ".groovy", ".scala", ".rs", ".kt", ".m", ".dart", ".pas", ".asm",
        ".vbs", ".s", ".h", ".hpp", ".ada", ".adb", ".ads", ".agda", ".asmx", ".awk",
        ".bash", ".bsh", ".cls", ".cob", ".coffee", ".cppm", ".csx", ".cu", ".cuh",
        ".d", ".erl", ".f", ".f90", ".f95", ".fs", ".gml", ".hcl", ".hs"
    ],
    "Web": [
        ".html", ".css", ".php", ".asp", ".jsp", ".aspx", ".cgi", ".xml", ".ajax",
        ".cfm", ".html5", ".xhtml", ".rss", ".atom", ".scss", ".less", ".sass", ".wasm", ".vue",
        ".svelte", ".erb", ".haml", ".handlebars", ".hbs", ".jspf", ".liquid", ".mustache",
        ".phtml", ".rhtml", ".slim", ".tmpl", ".twig", ".volt", ".xht", ".xsl", ".yaml", ".yml",
        ".do", ".jhtm", ".jspx", ".jst", ".lda", ".rjs", ".tld"
    ],
    "Databases": [
        ".db", ".mdb", ".accdb", ".sqlite", ".dbf", ".mdf", ".ora", ".fdb", ".db2",
        ".ib", ".myd", ".myi", ".frm", ".odb", ".pdb", ".sqlitedb", ".sqlite3", ".dat", ".db3",
        ".sdb", ".s3db", ".dbk", ".dbx", ".dcb", ".fmp", ".fp5", ".fp7", ".gdb", ".kdb", ".accde",
        ".adp", ".daf", ".edb", ".fmp12", ".frx", ".itdb", ".mdbhtml", ".ndf", ".nsf", ".nv2",
        ".nyf", ".ora", ".pdm", ".prc", ".tdb"
    ],
    "Datasets": [".csv", ".xlsx", ".json", ".sql"
    ],
    "Fonts": [
        ".ttf", ".otf", ".woff", ".woff2", ".eot", ".sfnt", ".font", ".pfb", ".pfm", ".afm",
        ".bin", ".cff", ".dfont", ".gst", ".pfa", ".sfd", ".std", ".svg", ".ttc", ".vfb",
        ".vfont", ".xfont", ".fon", ".fnt", ".otb", ".tfm"
    ]
}

let me know what you think?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.