{"id":13610670,"url":"https://github.com/AlexChaplinBraz/shell-scripts","last_synced_at":"2025-04-13T01:32:08.337Z","repository":{"id":107127285,"uuid":"237676171","full_name":"AlexChaplinBraz/shell-scripts","owner":"AlexChaplinBraz","description":"POSIX compliant shell scripts.","archived":false,"fork":false,"pushed_at":"2022-01-28T21:20:53.000Z","size":187,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-01T19:55:29.248Z","etag":null,"topics":["posix-compliant","shell-scripts"],"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/AlexChaplinBraz.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}},"created_at":"2020-02-01T20:51:25.000Z","updated_at":"2023-07-15T05:35:30.000Z","dependencies_parsed_at":"2024-01-22T00:02:41.454Z","dependency_job_id":null,"html_url":"https://github.com/AlexChaplinBraz/shell-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexChaplinBraz%2Fshell-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexChaplinBraz%2Fshell-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexChaplinBraz%2Fshell-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexChaplinBraz%2Fshell-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexChaplinBraz","download_url":"https://codeload.github.com/AlexChaplinBraz/shell-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223558244,"owners_count":17165095,"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":["posix-compliant","shell-scripts"],"created_at":"2024-08-01T19:01:46.926Z","updated_at":"2024-11-07T17:30:19.241Z","avatar_url":"https://github.com/AlexChaplinBraz.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Shell scripts\n\nThese shell scripts are written to be as POSIX compliant as possible, and as such, POSIX dependencies are assumed to\nexist on the system. Otherwise, each script checks by itself if its dependencies are accessible and informs the user if\nthey are not.\n\nThe help and error messages are colourised with ANSI codes (SRG), and if a program requires to be run as root it will be\ninformed to the user. Configuration is handled through environment variables and somethimes config files.\n\n## dmenu-scripts\n\nThis was previously a repo with only dmenu scripts, but will now hold all my shell scripts. My standards have gone up,\nso I'm gradually rewriting them. The goal is to have a choice of frontends, like is the case with `quickedit`, which is\na rewrite of `dedit`.\n\n## Short descriptions of the scripts\n\nLearn more about them by reading their `HelpMessage` variable.\n\n### newsh\n\nCreates an executable script linked to local bin from a template with lots of useful features and opens it with your\nEDITOR. This template is used to set a standard of how my scripts should look and behave.\n\n### trackconf\n\nGreat way to manage a dotfiles repository. Makes use of `ranger`'s file selection feature to add config files to the\ndotfiles repository, symlinking them back to where they belonged. Also allows for deploying configs by essentially\ndoing the opposite and symlinking the selected configs from inside the dotfiles repo to where they would belong,\ncreating any missing directories.\n\n### rbackup\n\nA fairly great backup solution that allows one to configure multiple `rsync` transfers that run in series. Has support\nfor dated versioning and an exclusions file for each backup. Also handles remote servers by checking connectivity before\nsyncing. If unavailable, it's skipped and the next backup starts. Same for errors with the configuration. Additionally,\nsupports logging the output of the script.\n\n### linkto\n\nEasy way to symlink selected files with `ranger` into the specified directory. Mainly used to link scripts into local\nbin.\n\n### quickedit\n\nQuickly find and open files to edit. By default uses `fzf` for displaying found files, but can alternatively use\n`dmenu`.\n\n### saveinstalled\n\nSave lists of explicitly installed official and AUR pacman packages. Can also save a custom list based on the\ndirectories inside the specified directory. Useful for packages that have been installed from source.\n\n### lndirex\n\nSymlink all the executable files inside one directory into another one, replacing any existing links. Precursor to\n`linkto`, but still somewhat useful.\n\n### upmir\n\nUpdate pacman's mirrorlist, ranked by speed. Must be run as root.\n\n### rex\n\nShow colourised rustc error message explanation in a pager.\n\n### ex\n\nGeneral extraction helper.\n\n### fixwinperms\n\nWindows is crap and so is the way permissions get set when transferring from it. This script fixes permissions\nrecursively on files and directories by setting them to 644 and 775 respectively. This is important because you\nshouldn't have files with 777 permissions all over the place.\n\nCAUTION: careful where you run it, since you could screw your system up royally. Not unfixable, but really troublesome.\n\n### checkvdur\n\nCheck total duration of all videos of the same extension inside the current directory.\n\n### genrepass\n\nThis is the original shell script that [genrepass-cli](https://github.com/AlexChaplinBraz/genrepass-cli) is based on.\nMy first big script, as it were.\n\n## Donate\n\nPlease consider supporting me through [donate.alexchaplinbraz.com](https://donate.alexchaplinbraz.com/?project=4)\nto motivate me to keep working on this project.\n\n## Legal\n\nMIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexChaplinBraz%2Fshell-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlexChaplinBraz%2Fshell-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexChaplinBraz%2Fshell-scripts/lists"}