{"id":23881776,"url":"https://github.com/zikani03/groupby","last_synced_at":"2025-09-19T05:57:17.207Z","repository":{"id":64297665,"uuid":"79466750","full_name":"zikani03/groupby","owner":"zikani03","description":"Group files into directories by year, month or day created","archived":false,"fork":false,"pushed_at":"2022-05-11T18:50:27.000Z","size":48,"stargazers_count":70,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-17T22:41:27.395Z","etag":null,"topics":["cli","go","golang","groupby"],"latest_commit_sha":null,"homepage":"https://labs.zikani.me/groupby/","language":"Go","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/zikani03.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}},"created_at":"2017-01-19T15:28:31.000Z","updated_at":"2025-04-25T17:57:15.000Z","dependencies_parsed_at":"2023-01-15T09:00:51.061Z","dependency_job_id":null,"html_url":"https://github.com/zikani03/groupby","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/zikani03/groupby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fgroupby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fgroupby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fgroupby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fgroupby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zikani03","download_url":"https://codeload.github.com/zikani03/groupby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fgroupby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275888196,"owners_count":25546587,"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-09-19T02:00:09.700Z","response_time":108,"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":["cli","go","golang","groupby"],"created_at":"2025-01-04T01:58:55.990Z","updated_at":"2025-09-19T05:57:17.170Z","avatar_url":"https://github.com/zikani03.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Group By\n========\n\nA simple CLI program to group files into directories by year, month or day created (or modified).\n\n## Usage\n\n### Download it\n\nDownload an already compiled executable for your operating system from the [releases page](https://github.com/zikani03/groupby/releases)\n\n\n### Example Usage\n\nUse the `groupby` command as in the example below:\n\n```bash\n$ groupby -day -d=./groupby\n```\n\nThis will group your files into year, month and then day subdirectories\nso that it looks like This\n\n```\n./groupby\n└── 2017\n   ├── July\n      └── 15\n         └── LICENSE\n   └── August\n      └── 21\n         ├── README.md\n         └── groupby.go\n```\n\n### Command-line options\n\n```text\ngroupby [OPTIONS]\n\nUsage of groupby:\n  -a            Include hidden files and directories (starting with .)\n  -copy-only\n                Only copy files, do not move them\n  -created\n                Group files by the date they were created (default)\n  -d DIRECTORY\n                Directory containing files to group\n  -day\n                Group by year, month and then day\n  -dry-run\n                Only show the output of how the files will be grouped\n  -flatten\n                Flatten the created directory tree folders\n  -ignore-directories\n                Ignore directories and only group files\n  -modified\n                Group files by the date they were modified (default true)\n  -month\n                Group by year, and then month\n  -o DIRECTORY\n                Directory to move grouped files to\n  -p            Only show the output of how the files will be grouped (shorthand)\n  -preview\n                Only show the output of how the files will be grouped\n  -v            Show verbose output\n  -verbose\n                Show verbose output\n  -version\n                Show the program version and exit\n  -year\n                Group by year only\n```\n\n\n## Building from source\n\nUse the following steps if you would like to build the binary from the source code.\u003cbr/\u003e\n`groupby` doesn't have any other dependencies besides Go itself, so building it is\nas simple as cloning it and running go build. \n\nYou must have [Go](https://golang.org) installed\n\n```bash\n$ git clone https://github.com/zikani03/groupby\n$ cd groupby\n$ go build\n```\n\nThis will create a `groupby` binary in the directory (`groupby.exe` on Windows)\n\n## LICENSE\n\nMIT\n\n---\n\nCopyright (c) 2018 - 2019, Zikani Nyirenda Mwase and Contributors","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzikani03%2Fgroupby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzikani03%2Fgroupby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzikani03%2Fgroupby/lists"}