{"id":16968484,"url":"https://github.com/squallstar/bancha-bash","last_synced_at":"2026-04-19T13:31:11.457Z","repository":{"id":3023454,"uuid":"4043237","full_name":"squallstar/bancha-bash","owner":"squallstar","description":"A simple unix bash scripting utility written by Nicholas Valbusa for Bancha CMS.","archived":false,"fork":false,"pushed_at":"2014-04-09T15:24:52.000Z","size":134,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T18:19:45.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://getbancha.com","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/squallstar.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}},"created_at":"2012-04-16T17:14:58.000Z","updated_at":"2014-04-09T15:24:51.000Z","dependencies_parsed_at":"2022-09-11T05:20:19.025Z","dependency_job_id":null,"html_url":"https://github.com/squallstar/bancha-bash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/squallstar/bancha-bash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fbancha-bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fbancha-bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fbancha-bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fbancha-bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squallstar","download_url":"https://codeload.github.com/squallstar/bancha-bash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fbancha-bash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-14T00:12:14.335Z","updated_at":"2026-04-19T13:31:11.437Z","avatar_url":"https://github.com/squallstar.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](http://getbancha.com/attach/logos/logo-bn.png)\n\n# Bancha Bash Utilities\n\nA simple bash script that performs many useful operations.\n\n- Requires: **wget** or **curl**, **php**, **tar**.\n- Tested on: **Ubuntu 10+** and **OSX Maverick**.\n- The update procedure does not work on **OSX**.\n\n## 1. How to install\n\nFrom an unix shell (we used Ubuntu), type the following commands:\n\n    wget -q https://raw.github.com/squallstar/bancha-bash/master/bancha.sh -O _bnc.sh\n    chmod +x _bnc.sh\n    sudo mv _bnc.sh /usr/bin/bancha\n\nOr, if you have **curl** instead of wget:\n\n    curl -s https://raw.github.com/squallstar/bancha-bash/master/bancha.sh \u003e _bnc.sh\n    chmod +x _bnc.sh\n    sudo mv _bnc.sh /usr/bin/bancha\n\n\n## 2. Usage\n\n### 2.1 Install Bancha on the current directory\nTo do a fresh Bancha install:\n\n    bancha install\n\n\nThe script will ask you for a directory (leave blank to install in the current path).\n\n---\n\n### 2.2 Update an existing Bancha installation\n\nUpdate an existing installation to the latest available version on GitHub:\n\n    bancha update\n\n\nThe following folders will be updated: **core** and **themes/admin**.\nA backup copy of both directories will be created in their paths with a **._old.** prefix.\n\n---\n\n## 3. Utilities\n\n### 3.1 Clear the website/admin cache\n\nTo clear the website and administration cache (db, pages, settings, trees, content types):\n\n    bancha clear cache\n\n---\n\n### 3.2 Clear the image presets cache\n\nTo clear the image presets cache (tipically will be the **/attach/cache** directory):\n\n    bancha clear presets\n\n---\n\n### 3.3 Clear the minified resources cache\n\n**To be added soon.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquallstar%2Fbancha-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquallstar%2Fbancha-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquallstar%2Fbancha-bash/lists"}