{"id":16505071,"url":"https://github.com/aahnik/dirganize","last_synced_at":"2025-09-04T04:39:42.346Z","repository":{"id":57418277,"uuid":"369433697","full_name":"aahnik/dirganize","owner":"aahnik","description":"Declutter your folders and get peace of mind. A command-line tool to organize files into category directories.","archived":false,"fork":false,"pushed_at":"2021-06-07T11:49:26.000Z","size":28,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T09:51:18.823Z","etag":null,"topics":["aahnik","aahnik-daw","automation","directory","directory-organizer","folder-organizer","folder-structure","poetry","python","python-script","python3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/dirganize","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aahnik.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2021-05-21T06:19:18.000Z","updated_at":"2024-03-20T04:57:19.000Z","dependencies_parsed_at":"2022-09-02T08:50:06.517Z","dependency_job_id":null,"html_url":"https://github.com/aahnik/dirganize","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aahnik%2Fdirganize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aahnik%2Fdirganize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aahnik%2Fdirganize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aahnik%2Fdirganize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aahnik","download_url":"https://codeload.github.com/aahnik/dirganize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238578813,"owners_count":19495450,"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","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":["aahnik","aahnik-daw","automation","directory","directory-organizer","folder-organizer","folder-structure","poetry","python","python-script","python3"],"created_at":"2024-10-11T15:09:10.124Z","updated_at":"2025-02-13T01:32:17.892Z","avatar_url":"https://github.com/aahnik.png","language":"Python","readme":"# dirganize\n\nDeclutter you folders and get peace of mind.\nA command-line tool to organize files into category directories.\n\n[![Tests](https://github.com/aahnik/dirganize/actions/workflows/test.yml/badge.svg)](https://github.com/aahnik/dirganize/actions/workflows/test.yml)\n[![Code Quality](https://github.com/aahnik/dirganize/actions/workflows/quality.yml/badge.svg)](https://github.com/aahnik/dirganize/actions/workflows/quality.yml)\n[![codecov](https://codecov.io/gh/aahnik/dirganize/branch/main/graph/badge.svg?token=2SRYMBMAHH)](https://codecov.io/gh/aahnik/dirganize)\n\n## Installation\n\n```shell\npip install dirganize\n```\n\n## Usage\n\nDirganize has an ultra simple command-line interface.\nJust move into the directory you want to organize, and run `dirganize`.\n\nYou can also specify which folder to organize by using the `path` option.\n\n```shell\ndirganize --path ~/Downloads\n```\n\nIf no path is specified, dirganize works on the current directory.\n\n## Configuration\n\nBy default `dirganize` determines the destination folder for a particular file by\nguessing its type from its extension.\nThe\n[`guess_type`](https://docs.python.org/3/library/mimetypes.html#mimetypes.guess_type)\nfunction of python's inbuilt module\n[`mimetypes`](https://docs.python.org/3/library/mimetypes.html)\nis used for this purpose.\n\n\u003e ***NOTE*** Dotfiles are not affected by dirganize.\n\nYou can put a `.dirganize.yml` file ( inside the folder you want to dirganize )\nto provide a custom configuration.\n\n```yaml\n# .dirganize.yml\n# folder: [ext1,ext2, ...]\nAnimations: [gif]\nBinaries: [bin,dat]\n```\n\nBasically you have the folder name,\nmapped to the list of file types to put in that folder.\n\nDirganize will first try to determine the destination directory from the `.dirganize.yml`.\nWhen the yaml configuration file is absent or\nthe folder for an encountered file type is not defined in the configuration,\n`dirganize` will fallback to the default technique.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faahnik%2Fdirganize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faahnik%2Fdirganize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faahnik%2Fdirganize/lists"}