{"id":18699806,"url":"https://github.com/lily-g1/bash_scripts","last_synced_at":"2026-04-16T14:08:02.081Z","repository":{"id":184509561,"uuid":"656124371","full_name":"Lily-G1/Bash_Scripts","owner":"Lily-G1","description":"Automated scripts with Bash","archived":false,"fork":false,"pushed_at":"2024-06-07T02:08:39.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T05:16:29.797Z","etag":null,"topics":["automation","bash-scripting","debian","linux","scripts","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lily-G1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-06-20T09:51:10.000Z","updated_at":"2024-06-07T02:08:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f8e40b1-aafc-44f6-b1cc-0bd706573481","html_url":"https://github.com/Lily-G1/Bash_Scripts","commit_stats":null,"previous_names":["lily-g1/bash_scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lily-G1%2FBash_Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lily-G1%2FBash_Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lily-G1%2FBash_Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lily-G1%2FBash_Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lily-G1","download_url":"https://codeload.github.com/Lily-G1/Bash_Scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239561286,"owners_count":19659426,"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":["automation","bash-scripting","debian","linux","scripts","ubuntu"],"created_at":"2024-11-07T11:34:25.892Z","updated_at":"2026-04-16T14:08:02.008Z","avatar_url":"https://github.com/Lily-G1.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash_Scripts\n## Automated scripts created with the Bash scripting language  \n- weather.sh: returns weather forecast for a specified location  \n    - You must have 'curl' installed on your system `$ sudo apt install curl`   \n    - Run script with -h / --help option to see help page OR -l \u003clocation\u003e / --location \u003clocation\u003e to see weather report of specified location. E.g:  \n      `$ ./weather.sh -h`  or `$ ./weather.sh --help` \u003e\u003e to see help page  \n      `$ ./weather.sh -l new-york`  or  `$ ./weather.sh --location new-york` \u003e\u003e to see weather forecast for new-york   \n- postgreSQL-install.sh: installs \u0026 configures postgreSQL on Debian 11 distro  \n- new_user_account_(interactive): prompts user for details and creates a new user account  \n- backup_script: a simple script that backs up a specified directory and sends an email notification in the event of a failure  \n    - Replace the values of BACKUP_SRC and EMAIL_RECIPIENT with your desired source directory and a valid email address respectively  \n    - To be able to send emails from your Linux server, you must install \u0026 configure the appropriate packages. Check out my [blogpost](https://medium.com/@anyagaladima_62348/integrate-gmail-with-an-ubuntu-server-by-lilian-galadima-4874356d406a) on how to integrate Gmail on an Ubuntu server\n- monitor_system.sh: along with a cron job, this scripts monitors/tracks and logs the health \u0026 performance of an ubuntu system. It sets thresholds for CPU, memory, disk, I/O, plus network usage, and sends an email to the administrator if any of these thresholds are breached  \n  \n- cloud_based_backup.sh: backs up a specified directory using rsync. Archives, encrypts and copies backup to pre-existing S3 bucket via the AWS CLI\n  - You must have mailutils, AWS CLI \u0026 gpg installed  \n  - You will be required to enter a passphrase to secure your encryption    \n  - To download and decrypt the file from s3:  \n    - `$ mkdir s3-downloads` \u003e\u003e create a dedicated directory to store downloads  \n    - `$ aws s3 cp s3://S3_bucket_name/backup_filename.tar.gz.gpg ~/s3-downloads/` \u003e\u003e to download using aws cli\n    - `$ cd s3-downloads/`    \n    - `$ gpg -o backup_filename.tar.gz -d backup_filename.tar.gz.gpg` \u003e\u003e to decrypt file. Enter previous passphrase to authenticate    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flily-g1%2Fbash_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flily-g1%2Fbash_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flily-g1%2Fbash_scripts/lists"}