{"id":25016641,"url":"https://github.com/acbrandao/scripts","last_synced_at":"2025-04-13T01:08:08.663Z","repository":{"id":206152166,"uuid":"122098235","full_name":"acbrandao/scripts","owner":"acbrandao","description":"Shell scripts \u0026 ffmpeg  mostly for Linux systems . Shell code snippets for everyday tasks","archived":false,"fork":false,"pushed_at":"2022-03-16T03:05:10.000Z","size":74,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-13T01:08:03.494Z","etag":null,"topics":["bash-script","scripting"],"latest_commit_sha":null,"homepage":"http://www.abrandao.com/category/software/","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/acbrandao.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}},"created_at":"2018-02-19T17:41:48.000Z","updated_at":"2025-02-14T12:55:44.000Z","dependencies_parsed_at":"2023-11-08T10:16:17.416Z","dependency_job_id":null,"html_url":"https://github.com/acbrandao/scripts","commit_stats":null,"previous_names":["acbrandao/scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acbrandao%2Fscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acbrandao%2Fscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acbrandao%2Fscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acbrandao%2Fscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acbrandao","download_url":"https://codeload.github.com/acbrandao/scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650766,"owners_count":21139681,"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","scripting"],"created_at":"2025-02-05T09:54:01.236Z","updated_at":"2025-04-13T01:08:08.629Z","avatar_url":"https://github.com/acbrandao.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Various Shell Scripts : bash etc... \nShell scripts mostly for Linux systems . This is where I will keep utility SNIPPETS and shell scripts that I find useful and will serve as a reference library.\nMost of the scripts are pretty short and self-explanatory.\n\n# Simple one / two line shell scripts that may be usefull\n\n  - Get directory listing with filesize in human readable format\n    ``` du -shc uploads/2019/*  ```  \n  - Find largest file in a directory recursively\n     ``` sudo du -ah /dir_name/ | sort -n -r | head -n 20 ```\n\n# Running\nSimply chmod +x \u003cscriptname \u003e and run them form a linux command line\n  \n# Scripts and Descriptions\n\n| Script Name  | Description   |\n|---|---|\n|  apache_logs.sh |  Reads Apache Log files and displays basic stats like top popular pages, hits bu IP etc.  |\n|  curl_site_change.sh |  Issues a curl command -\u003e md5 hashes results and runs a diff to compare for changes |\n|  email_attach_cli.sh | Creates an email and ataches file from command line  |\n|  open_ports.sh |  simple open port scanner using nc |\n|  sync_folders.sh | rsync two folders between two different servers  |\n|  zipfolder_sendemail.sh | zips up a folder and sends it as an email attachment  |\n|   |   |\n|   |   |\n|   |   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facbrandao%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facbrandao%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facbrandao%2Fscripts/lists"}