{"id":19957567,"url":"https://github.com/rimubytes/file-organizer","last_synced_at":"2026-05-13T00:31:06.356Z","repository":{"id":243614475,"uuid":"812905664","full_name":"rimubytes/file-organizer","owner":"rimubytes","description":"A script that organizes files in a directory based on their file types.","archived":false,"fork":false,"pushed_at":"2024-06-10T07:49:32.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T15:46:57.364Z","etag":null,"topics":["bash","bash-scripting"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/rimubytes.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-10T06:09:15.000Z","updated_at":"2025-02-05T15:40:48.000Z","dependencies_parsed_at":"2024-06-10T07:40:01.324Z","dependency_job_id":"2600ccc7-fa93-4d67-a925-2116a4443957","html_url":"https://github.com/rimubytes/file-organizer","commit_stats":null,"previous_names":["m-murithi/file-organizer","rimubytes/file-organizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rimubytes/file-organizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Ffile-organizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Ffile-organizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Ffile-organizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Ffile-organizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rimubytes","download_url":"https://codeload.github.com/rimubytes/file-organizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Ffile-organizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32963160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","bash-scripting"],"created_at":"2024-11-13T01:38:15.515Z","updated_at":"2026-05-13T00:31:05.864Z","avatar_url":"https://github.com/rimubytes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File organizer\nFile Organizer is a bash script that organizes files in specified directories based on their file types. It categorizes files into subdirectories such as '*Images*', '*Documents*', '*Music*' and '*Videos*', making it easier to manage and find files\n\n#### Features\n- Organizes files based on their extensions\n- Automatically creates subdirectories for each file type category \n- Moves files into the appropriate subdirectories\n- Supports multiple directory paths as input\n- Logs actions taken during the organization process\n\n#### Requirements\n- Bash \n\n### Usage\n1. Clone or download the repository\n2. Make the script executable:\n```bash\nchmod +x organize_files.sh\n```\n3. Run the script with one or more directory paths as arguments:\n```bash\n./organize_files.sh /path/to/directory1 /path/to/directory2\n```\n\n#### File Type Categories\nThe script categorizes the files based on their extensions into the following predefined categories:\n\n    - Images: jpg, jpeg, png, gif, bmp\n    - Documents: txt, pdf, doc, docx\n    - Spreadsheets: xls, xlsx\n    - Music: mp3, wav, flac\n    - Videos: mp4, mkv, avi\n\nYou can customize these categories and extensions by modifying the 'FILE_TYPES' associative array in the script\n\n### Logging \nThe script logs its actions to a file named '*organize_files.log*' in the current directory. The log includes information about moved files and any issues encountered.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimubytes%2Ffile-organizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frimubytes%2Ffile-organizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimubytes%2Ffile-organizer/lists"}