{"id":21377139,"url":"https://github.com/joshpsawyer/bash-scripts","last_synced_at":"2025-03-16T09:44:30.547Z","repository":{"id":197670274,"uuid":"170012800","full_name":"joshpsawyer/bash-scripts","owner":"joshpsawyer","description":"a collection of bash scripts to automate some common things, like initializing a git repo and provision a project directory structure","archived":false,"fork":false,"pushed_at":"2019-02-10T19:34:01.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T21:45:11.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/joshpsawyer.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}},"created_at":"2019-02-10T18:44:28.000Z","updated_at":"2019-07-19T20:12:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e596f35-a99a-474e-a1b6-60753743c446","html_url":"https://github.com/joshpsawyer/bash-scripts","commit_stats":null,"previous_names":["joshpsawyer/bash-scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpsawyer%2Fbash-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpsawyer%2Fbash-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpsawyer%2Fbash-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpsawyer%2Fbash-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshpsawyer","download_url":"https://codeload.github.com/joshpsawyer/bash-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852434,"owners_count":20358270,"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-22T09:19:14.551Z","updated_at":"2025-03-16T09:44:30.521Z","avatar_url":"https://github.com/joshpsawyer.png","language":"Shell","readme":"# bash-scripts\na collection of bash scripts to automate some common things, like initializing a git repo and provision a project directory structure. Contents include:\n\n- ```gitinit``` is  a copy of https://github.com/chrissimpkins/scriptacular/tree/master/version-control\n- ```mkproj``` structures a directory with guiding principals from [Good Enough Practices in Scientific Computing](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005510).\n  - only an ArcMap option exists currently, because of all the NRS522 maps\n\n# Installation\n\nThis requires bash access. Mac and Unix machines will have it natively; Windows users should install Git and use Git Bash or similar.\n\n1. Clone the repo to your local machine\n2. In a bash window, open either ```~/.bash_profile``` or ```~/.bash_rc``` (or create if necessary) and paste the following:\n    ```bash\n    BASH_SCRIPT_DIRECTORY=\"/c/proj/code/bash-scripts\"\n\n    alias gitinit=\"$BASH_SCRIPT_DIRECTORY/gitinit.sh\"\n    alias mkproj=\"$BASH_SCRIPT_DIRECTORY/mkproj.sh\"\n    ```\n3. Change the value of ```BASH_SCRIPT_DIRECTORY``` to where you've cloned the repo.\n4. Alternatively, change the names of the alias to whatever you'd like.\n5. Either reopen bash or type:\n    ```bash\n    source ~/.bash_profile\n    ```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshpsawyer%2Fbash-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshpsawyer%2Fbash-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshpsawyer%2Fbash-scripts/lists"}