{"id":17383138,"url":"https://github.com/skn437/skn-shell-utils","last_synced_at":"2026-04-20T19:06:17.163Z","repository":{"id":239145973,"uuid":"798676932","full_name":"skn437/skn-shell-utils","owner":"skn437","description":"A Simple Utility Library For Shell Script","archived":false,"fork":false,"pushed_at":"2025-03-05T23:17:49.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T00:23:42.685Z","etag":null,"topics":["bash-script","library","linux","shellscript"],"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/skn437.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-05-10T09:01:15.000Z","updated_at":"2025-03-05T23:17:52.000Z","dependencies_parsed_at":"2024-05-10T10:27:07.845Z","dependency_job_id":"e31d707e-7522-4a99-bc04-cb4a94c4509c","html_url":"https://github.com/skn437/skn-shell-utils","commit_stats":null,"previous_names":["skn437/skn-shell-utils"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skn437%2Fskn-shell-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skn437%2Fskn-shell-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skn437%2Fskn-shell-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skn437%2Fskn-shell-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skn437","download_url":"https://codeload.github.com/skn437/skn-shell-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245924493,"owners_count":20694728,"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":["bash-script","library","linux","shellscript"],"created_at":"2024-10-16T07:40:44.444Z","updated_at":"2026-04-20T19:06:17.157Z","avatar_url":"https://github.com/skn437.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SKN Shell Script Utility Library\n\n\u003cimg width=\"150px\" src=\"https://firebasestorage.googleapis.com/v0/b/skn-ultimate-project-la437.appspot.com/o/GitHub%20Library%2F01-Shell%20Script-SSU.svg?alt=media\u0026token=6225664d-c00a-45b0-9c5b-2ba3313e71ea\" alt=\"shell\" /\u003e\n\n\u003e Shell Script\n\n[![GitHub Release](https://img.shields.io/github/v/release/skn437/skn-shell-utils)](https://github.com/skn437/skn-shell-utils/releases/tag/v1.4.3) [![MIT License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/license/mit)\n\n\u0026nbsp;\n\n## **_Introduction:_**\n\n### This is a simple Shell Script Utility Library\n\n### Since I use Linux, I made this library so that I can use it in all of my projects including in `GitHub Action`, `Docker` without writing the same codes over and over again\n\n\u0026nbsp;\n\n## **_Details:_**\n\n### **`Basic` Functions:**\n\n- delete_directory (takes 1 argument)\n- delete_file (takes 1 argument)\n- copy_directory (takes 2 arguments)\n- copy_file (takes 2 arguments)\n- move_directory (takes 2 arguments)\n- move_file (takes 2 arguments)\n\n### **`Color` Functions: Each takes 1 argument**\n\n- black\n- black_bold\n- red\n- red_bold\n- green\n- green_bold\n- yellow\n- yellow_bold\n- blue\n- blue_bold\n- purple\n- purple_bold\n- cyan\n- cyan_bold\n- white\n- white_bold\n\n### **`Message` Functions: Each takes 1 argument**\n\n- show_action_completion_message\n- show_error_message\n- show_success_message\n- show_info_message\n\n### **`Package` Functions: Each takes no argument**\n\n- apt_prepare (updates, upgrades, autoremoves `apt`. Only for `debian` based linux distributions)\n- brew_prepare (updates, upgrades, autoremoves, cleans up `Homebrew`)\n\n\u0026nbsp;\n\n## **_Use Case:_**\n\n- Linux OS\n- MacOS\n\n\u0026nbsp;\n\n## **_Usage:_**\n\n### To install, open the terminal \u0026 do the following\n\n\u003e ```bash\n\u003e curl -sSL https://raw.githubusercontent.com/skn437/skn-shell-utils/master/build.sh | sh\n\u003e ```\n\n### Inside your shell script, you can import the scripts like this to get the library\n\n\u003e ```bash\n\u003e source \"$HOME/.shell-lib/ssu/main.sh\"\n\u003e ```\n\n### For `Basic` functions, use it like following\n\n\u003e ```bash\n\u003e delete_directory \"path to the directory\"\n\u003e delete_file \"path to the file\"\n\u003e copy directory \"path to the input directory\" \"path to the output directory\"\n\u003e copy_file \"path to the input file\" \"path to the output file\"\n\u003e move_directory \"path to the input directory\" \" path to the output directory\"\n\u003e move_file \"path to the input file\" \"path to the output file\"\n\u003e ```\n\n### For `Color` functions, use it like following\n\n\u003e ```bash\n\u003e blue \"message here\"\n\u003e red \"message here\"\n\u003e ```\n\n### For `Message` functions, use it like following\n\n\u003e ```bash\n\u003e show_error_message \"this message will be printed red with cross mark\"\n\u003e show_success_message \"this message will be printed green with tick mark\"\n\u003e show_info_message \"this message will be printed blue with book info mark\"\n\u003e show_action_completion_message \"action name here\"\n\u003e ```\n\n### For `Package` functions, use it like following\n\n\u003e ```bash\n\u003e apt_prepare\n\u003e brew_prepare\n\u003e ```\n\n\u0026nbsp;\n\n## **_Dedicated To:_**\n\n- 👩‍🎨`Prodipta Das Logno` \u0026 🧛‍♀️`Atoshi Sarker Prithula`: The two most special ladies of my life. My best wishes will always be with you two. May you two always be happy.\n- 💯`My Parents`: The greatest treasures of my life ever.\n\n\u0026nbsp;\n\n## **_License:_**\n\nCopyright (C) 2024 SKN Shukhan\n\nLicensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskn437%2Fskn-shell-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskn437%2Fskn-shell-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskn437%2Fskn-shell-utils/lists"}