{"id":33185482,"url":"https://github.com/AfzGit/dext","last_synced_at":"2025-11-17T10:01:31.280Z","repository":{"id":167105232,"uuid":"576487162","full_name":"AfzGit/dext","owner":"AfzGit","description":"Sort files into directories based on file extensions","archived":false,"fork":false,"pushed_at":"2023-04-23T05:12:18.000Z","size":2762,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-20T15:55:15.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AfzGit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-12-10T02:00:25.000Z","updated_at":"2024-01-27T08:33:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"d1956ee2-b136-4082-b2ea-68eb04099925","html_url":"https://github.com/AfzGit/dext","commit_stats":null,"previous_names":["afzgit/dext"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AfzGit/dext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfzGit%2Fdext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfzGit%2Fdext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfzGit%2Fdext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfzGit%2Fdext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AfzGit","download_url":"https://codeload.github.com/AfzGit/dext/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfzGit%2Fdext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284861038,"owners_count":27075155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-17T02:00:06.431Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-11-16T05:00:20.092Z","updated_at":"2025-11-17T10:01:31.274Z","avatar_url":"https://github.com/AfzGit.png","language":"Shell","funding_links":[],"categories":["\u003ca name=\"file-dir-cleanup\"\u003e\u003c/a\u003eClean up of files and directories"],"sub_categories":[],"readme":"\n# Table of Contents\n\n1.  [About](#org673d72e)\n2.  [Requirements](#orge32e026)\n3.  [Installation](#orgec4e642)\n4.  [Usage](#orge79668d)\n5.  [Examples](#org3486f9e)\n\n\n\n\u003ca id=\"org673d72e\"\u003e\u003c/a\u003e\n\n# About\n\nDext (Directories by Extensions) is a script that moves (or copies) files of the same extension into a folder.\n\nThe main goal of this script is to make sense out of large number of messy and unorganized files by sorting them (according to their file extensions) in folders.\n\nDext moves files by default unless copy option is provided (-c).\n\n\n\u003ca id=\"orge32e026\"\u003e\u003c/a\u003e\n\n# Requirements\n\n-   curl (only for installation)\n    -   Debian\n        -   `sudo apt install curl`\n    -   Arch\n        -   `sudo pacman -S curl`\n-   sed\n    -   Debian\n        -   `sudo apt install sed`\n    -   Arch\n        -   `sudo pacman -S sed`\n\n\n\u003ca id=\"orgec4e642\"\u003e\u003c/a\u003e\n\n# Installation\n\n-   Using curl\n\n``` sh\n    curl https://raw.githubusercontent.com/AfzGit/dext/main/dext --output dext\n    chmod a+x dext\n    sudo mv dext /usr/bin/\n\n```\n\n\u003ca id=\"orge79668d\"\u003e\u003c/a\u003e\n\n# Usage\n\n-   USAGE:\n    -   dext [OPTIONS]\n    -   dext [OPTIONS] DIRECTORY\n\n\n-   OPTIONS:\n    -   -h    Show this help message\n    -   -u    Show total Unique extension\n    -   -v    Verbose mode\n    -   -i    Interactive mode\n    -   -c    Copy mode (default is Move)\n    -   -d    Dry run\n    -   -f    Force move/copy files (no prompts)\n\n\n\u003ca id=\"org3486f9e\"\u003e\u003c/a\u003e\n\n# Examples\n\n-   dext ~/Downloads/\n    - Move files into directories based on file extensions\n-   dext -i -v -c ~/Downloads/\n    - Enable Interactive and Verbose Copy\n-   dext -f ~/Downloads/\n    - Force move\n-   dext -f -c ~/Downloads/\n    - Force copy\n-   dext -d ~/Downloads/\n    - Dry run\n\nNote: I am not responsible for any damages you encounter using this script\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAfzGit%2Fdext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAfzGit%2Fdext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAfzGit%2Fdext/lists"}