{"id":20624265,"url":"https://github.com/ortense/shellhelper","last_synced_at":"2026-05-08T03:03:00.387Z","repository":{"id":235039190,"uuid":"789950710","full_name":"ortense/shellhelper","owner":"ortense","description":"A collection of useful bash scripts for several common file and directory manipulation","archived":false,"fork":false,"pushed_at":"2024-04-22T01:28:00.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T05:43:51.388Z","etag":null,"topics":["bash","bash-script","filemanagement","filemanipulation","shell","shell-script","terminal"],"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/ortense.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}},"created_at":"2024-04-22T01:21:54.000Z","updated_at":"2024-04-22T01:29:28.000Z","dependencies_parsed_at":"2024-04-22T04:05:16.330Z","dependency_job_id":null,"html_url":"https://github.com/ortense/shellhelper","commit_stats":null,"previous_names":["ortense/shellhelper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ortense%2Fshellhelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ortense%2Fshellhelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ortense%2Fshellhelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ortense%2Fshellhelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ortense","download_url":"https://codeload.github.com/ortense/shellhelper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242332574,"owners_count":20110345,"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","bash-script","filemanagement","filemanipulation","shell","shell-script","terminal"],"created_at":"2024-11-16T12:30:14.637Z","updated_at":"2025-12-24T03:40:34.129Z","avatar_url":"https://github.com/ortense.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![shell helper mascot](./asset/shellhelper.jpg)\n\n# Shell Helper\n\nThis repository is a collection of useful bash scripts for several common file and directory manipulation tasks on the Linux/Unix system. Each script is designed to facilitate specific operations, such as checking for the existence of a path, creating files or directories, editing files, or exploring directories.\n\n## Available Stripts\n\nFollowing are the scripts available in this repository:\n\n- **exists:** Checks whether a path (file or directory) exists on the file system.\n- **new:** Creates a new file at the specified path, creating the necessary directories if they do not exist.\n- **edit:** Opens a file for editing using the editor configured in the `EDITOR` environment variable.\n- **explore:** Opens a directory for exploration using the file manager configured in the `FILEMANAGER` environment variable.\n- **open:** Opens a file or directory for editing or exploration based on the existence and type of the specified path.\n\n## Setup\n\nClone this repository in your home directory.\n\n```sh\ngit clone https://github.com/ortense/shellhelper.git ~/.shellhelper\n```\n\nSetting the EDITOR and FILEMANAGER environment variables as needed for the edit and explore scripts, respectively.\n\n\nFor example, if you use [vim](https://github.com/vim/vim) and [ranger](https://github.com/ranger/ranger), ensure the environment variables are configured as follows:\n\n```sh\nexport EDITOR=vim\nexport FILEMANAGER=rider\nexport SHELLHELPER=\"$HOME/.shellhelper/bin\"\nexport PATH=\"$PATH:$SHELLHELPER\"\n```\n\nGive execute permission to all files in the bin folder:\n\n```sh\nchmod +x ~/.shellhelper/bin/*\n```\n\n## License\n\nThis repository is licensed under the MIT License. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fortense%2Fshellhelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fortense%2Fshellhelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fortense%2Fshellhelper/lists"}