{"id":21489324,"url":"https://github.com/reitzig/scripts","last_synced_at":"2026-03-14T15:03:07.067Z","repository":{"id":77072314,"uuid":"12522133","full_name":"reitzig/scripts","owner":"reitzig","description":"Collection of arguably useful shell scripts.","archived":false,"fork":false,"pushed_at":"2026-03-02T10:15:45.000Z","size":129,"stargazers_count":19,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-02T14:09:23.416Z","etag":null,"topics":["linux","scripts","utilities"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reitzig.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-09-01T15:00:31.000Z","updated_at":"2026-03-02T10:15:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c106e8a-86bb-43ff-a546-dce6ae39a403","html_url":"https://github.com/reitzig/scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reitzig/scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reitzig%2Fscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reitzig%2Fscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reitzig%2Fscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reitzig%2Fscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reitzig","download_url":"https://codeload.github.com/reitzig/scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reitzig%2Fscripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30337297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["linux","scripts","utilities"],"created_at":"2024-11-23T14:18:17.682Z","updated_at":"2026-03-10T14:34:07.440Z","avatar_url":"https://github.com/reitzig.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n\n# Assorted Shellscripts\n\nThis a just a collection of arguably useful shell scripts.\n\n⚠️ These are updated on the basis of \"do I need something right now\". Use at your own risk.\n\n### [`addcovers.rb`](https://github.com/reitzig/scripts/blob/master/addcovers.rb)\n\nPicks up album covers from canonical local locations, and \nadds them to MP3 and FLAC files.\n\n### [`aquax`](https://github.com/reitzig/scripts/blob/master/aquax)\n\nLike [`pkgx`](https://docs.pkgx.sh/run-anywhere/scripts) but driven by [aquaproj/aqua](https://github.com/aquaproj/aqua).\n\n### [`canonical_imgname`](https://github.com/reitzig/scripts/blob/master/canonical_imgname.rb)\n\nDerives a canonical filename for photos using EXIF data or certain filename patterns;\nthe format is `YYYY-MM-DD hh.mm.ss`, that is for example `2021-09-09 11.25.38`.\n\n### [`canonify_imgnames`](https://github.com/reitzig/scripts/blob/master/canonify_imgnames)\n\nRenames images using EXIF data or certain filename patterns so that they conform to a standard, \ndatetime-based naming scheme.\n\n### [`charge-reminder.go`](https://github.com/reitzig/scripts/blob/master/charge-reminder.go)\n\nPeriodically checks the current battery level and alerts the user if it is low (and not charging).\n\n### [`docker-tiny-ls`](https://github.com/reitzig/scripts/blob/master/docker-tiny-ls)\n\nA simple wrapper around `docker _ ls` that prints in a more narrow table format than the default.\n\n### [`git-current-ref`](https://github.com/reitzig/scripts/blob/master/git-current-ref.sh)\n\nPrints the prettiest description of the currently checked out Git revision:\nbranch name, tag name, or short hash.\n\n_Credits_: [SO@64886613](https://stackoverflow.com/a/64886613)\n\n### [`git-names-of-current-ref`](https://github.com/reitzig/scripts/blob/master/git-names-of-current-ref.sh)\n\nPrints the (short) names of all branch and tag refs pointing at the currently checked out Git revision.\n\n### [`imgs2pdf`](https://github.com/reitzig/scripts/blob/master/imgs2pdf)\n\nUses LaTeX to create a (portrait A4) PDF from the images passed as parameters.\nShrinks images to fit the page.\n\n### [`make-booklet.sh`](https://github.com/reitzig/scripts/blob/master/make-booklet.sh)\n\nTakes an A4 PDF, and rearranges pages so that an A4 duplex print can be\n(cut) and stapled into a booklet of the given format.\n\n### [`mkimgpage.rb`](https://github.com/reitzig/scripts/blob/master/mkimgpage.rb)\n\nTakes a Markdown file with special image tags and creates an image gallery from it.\nComes with a [style](https://github.com/reitzig/scripts/blob/master/mkimgpage.css) and [footer](https://github.com/reitzig/scripts/blob/master/mkimgpage_footer.html) you might want to adapt.\n\n### [`music2thumb.rb`](https://github.com/reitzig/scripts/blob/master/music2thumb.rb)\n\nCopies music files to a thumbdrive/music player, converting down to\nthe best format your player supports and renaming for FAT32 compatibility.\n\n### [`pavol.rb`](https://github.com/reitzig/scripts/blob/master/pavol.rb)\n\nControls pulseaudio volume via shell. Since pulseaudio has a crappy CLI interface, this is useful\nif you want to assign media hotkeys their proper function under less flashy window managers such as Fluxbox.\n\n### [`pdfinvert`](https://github.com/reitzig/scripts/blob/master/pdfinvert)\n\nIn its basic mode, this script inverts all colors in a PDF, including embedded images.\nYou can also specify a more carefully chosen set of color replacement rules.\n\n**Note:** Deprecated in favor of `pdfinvert.rb` as of [`af81254`](https://github.com/reitzig/scripts/commit/af81254a4d31690a5dd13355109d3934aa17bac7)\n\n### [`pdfinvert.rb`](https://github.com/reitzig/scripts/blob/master/pdfinvert.rb)\n\nIn its basic mode, this script inverts all colors in a PDF, including embedded images.\nYou can also specify a more carefully chosen set of color replacement rules and exclude images from the conversion.\n\n### [`pdfsplitk`](https://github.com/reitzig/scripts/blob/master/pdfsplitk)\n\nSplits PDFs into constant-sized chunks. Useful if you create bulk letters, numbered exams or similar and need one\nfile per instance, e.g. for stapling printers.\n\n### [`process-pacnew`](https://github.com/reitzig/scripts/blob/master/process-pacnew)\n\nRunning `pacman -Syu` can leave behind `*.pacnew` files when a (config) file changed in the package but also has local changes.\nThis script iterates over such files, prompting the user to merge their local changes with the proposed updates.\n\n### [`pullphotos`](https://github.com/reitzig/scripts/blob/master/pullphotos)\n\nDownloads photos from [compatible](http://www.gphoto.org/doc/manual/FAQ.html#FAQ-camera-support) cameras without\nresorting to mounting them as mass-storage devices. Also rotates them according to information provided by the camera.\n\n### [`rmd2html`](https://github.com/reitzig/scripts/blob/master/rmd2html)\n\nAn elementary one-liner that compiles Rmd files into HTML.\n\n### [`rmobsraw.rb`](https://github.com/reitzig/scripts/blob/master/rmobsraw.rb)\n\nRemoves obsolete RAW image files, i.e. such whose companion JPGs have been deleted.\n\n### [`screen_setup`](https://github.com/reitzig/scripts/blob/master/screen_setup)\n\nProvides a narrow interface to xrandr that allows you to switch easily between single, dual, and mirror screen setups. Tries to avoid some pitfalls like enabled but disconnected displays.\n\n### [`shelve-media`](https://github.com/reitzig/scripts/blob/master/shelve-media.sh)\n\nInteractively work through a list of photos, videos and other media, and \nsort them into your folder-based collection.\n\n### [`showqr`](https://github.com/reitzig/scripts/blob/master/showqr)\n\nRenders and displays text as qr-code.\n\n### [`slugify`](https://github.com/reitzig/scripts/blob/master/slugify.sh)\n\nConvert the given \"noisy\" string, e.g. a Git branch name, to something that contains only letters, digits, dashes, underscores, and periods;\nthis is compatible with Docker image tags, for instance.\n\n### [`ssh-print.rb`](https://github.com/reitzig/scripts/blob/master/ssh-print.rb)\n\nA simple script that creates a printable PDF backup of an SSH key.\nDoes currently not include any error handling.\n\n### [`switchkbl`](https://github.com/reitzig/scripts/blob/master/switchkbl)\n\nRotates through a set of hard-coded  (but easily changed) keyboard layouts. Useful for tying to a shortcut (or direct use)\nunder window managers that do not have convenient support for multiple layouts.\n\n### [`tlwhich`](https://github.com/reitzig/scripts/blob/master/tlwhich)\n\nEver wondered which package provided that one LaTeX command you remember?\nTeX Live Which looks for command, environment, package and document class definitions \nin your local TeX Live installation.\n\n### [`tikz2png`](https://github.com/reitzig/scripts/blob/master/tikz2png)\n\nConverts TikZ images specified in their own file to PNG. Check the script for quality settings.\n\n### [`tikz2svg`](https://github.com/reitzig/scripts/blob/master/tikz2svg)\n\nConverts TikZ images specified in their own file to SVG.\n\n### [`transpose-latex-table.rb`](https://github.com/reitzig/scripts/blob/master/transpose-latex-table.rb)\n\nTransposes a regular LaTeX `tabular` table.\n\n### [`watch`](https://github.com/reitzig/scripts/blob/master/watch)\n\nWraps `omxplayer` to avoid a couple of usability issues, e.g.\n\n * hides shell background during video playback,\n * supports playlists and\n * supports (recursive) playback of multiple files and directories.\n\n### [`xdg-mime-which`](https://github.com/reitzig/scripts/blob/master/xdg-mime-which.sh)\n\nDetermines in which file the XDG default application for the given MIME type is set.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freitzig%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freitzig%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freitzig%2Fscripts/lists"}