{"id":21158344,"url":"https://github.com/losthopes/genutils","last_synced_at":"2025-03-14T15:27:17.989Z","repository":{"id":247224558,"uuid":"825304492","full_name":"LostHopes/genutils","owner":"LostHopes","description":"General command line utils for day-to-day usage","archived":false,"fork":false,"pushed_at":"2024-08-29T20:08:25.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-29T22:28:16.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/LostHopes.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-07-07T12:09:04.000Z","updated_at":"2024-08-29T20:08:29.000Z","dependencies_parsed_at":"2024-08-29T21:54:48.014Z","dependency_job_id":null,"html_url":"https://github.com/LostHopes/genutils","commit_stats":null,"previous_names":["losthopes/genutils"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostHopes%2Fgenutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostHopes%2Fgenutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostHopes%2Fgenutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostHopes%2Fgenutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LostHopes","download_url":"https://codeload.github.com/LostHopes/genutils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243599847,"owners_count":20317180,"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":[],"created_at":"2024-11-20T12:20:46.777Z","updated_at":"2025-03-14T15:27:17.948Z","avatar_url":"https://github.com/LostHopes.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is genutils?\n\nGenutils is the attempt to rewrite some of the main GNU core utils.\nCommands ends with prefix with \"g\" to indicate genutils and don't conflict with other commands.\n\n# The goals of genutils\n\n1. Simplicity over complexity\n2. Learning CLI tools and improve my understanding of C\n3. Focus on the Linux side first\n\n## lsg (list directories and files)\n\n- [x] list objects if path provided\n- [x] get the all files and directories in the list by column (-l)\n- [x] show hidden files (-a)\n- [ ] list directories recursively (-R)\n- [x] output with colors\n- [ ] sort items by default and select certain algorithm if argument is provided (-s)\n\n## cpg (copy files and/or directories)\n\n- [ ] cp directory (-r)\n- [x] add verbose output (-v)\n- [x] print amount of bytes copied\n\n# Known bugs\n\n## lsg\n\n## cpg\n\n# References\n\n1. [StackOverflow: Checking if a directory exists in Unix](https://stackoverflow.com/questions/3828192/checking-if-a-directory-exists-in-unix-system-call)\n2. [What is mode_t in C?](https://jameshfisher.com/2017/02/24/what-is-mode_t/)\n3. [How to pass function as parameter in C](https://stackoverflow.com/questions/9410/how-do-you-pass-a-function-as-a-parameter-in-c)\n4. [Stat function manual](https://pubs.opengroup.org/onlinepubs/7908799/xsh/sysstat.h.html)\n5. [Reddit: building cross-platform C programs](https://www.reddit.com/r/C_Programming/comments/132ma0u/how_do_you_build_crossplatform_c_programs/)\n\n# Contribution\n\nIf you have found bug, please describe it in the issues section or\nfork the project, fix an error and create pull request.\n\n# License\n\nThe project created for educational purposes and LICENSED under MIT. (See [LICENSE](LICENSE) file)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosthopes%2Fgenutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flosthopes%2Fgenutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosthopes%2Fgenutils/lists"}