{"id":18103036,"url":"https://github.com/smittytone/scripts","last_synced_at":"2025-04-13T18:52:35.194Z","repository":{"id":53850478,"uuid":"175440307","full_name":"smittytone/scripts","owner":"smittytone","description":"Generic z-shell and bash scripts for use on various machines","archived":false,"fork":false,"pushed_at":"2024-11-30T17:40:20.000Z","size":397,"stargazers_count":12,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T09:41:17.484Z","etag":null,"topics":["bash","macos","raspberry-pi","shell","xcode","zsh"],"latest_commit_sha":null,"homepage":"https://www.smittytone.net/bash-scripts/","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/smittytone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2019-03-13T14:44:54.000Z","updated_at":"2024-11-30T17:40:24.000Z","dependencies_parsed_at":"2024-08-03T15:23:28.175Z","dependency_job_id":"47ac07fa-30ce-4e9a-9333-6698bbfb8523","html_url":"https://github.com/smittytone/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/smittytone%2Fscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smittytone%2Fscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smittytone%2Fscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smittytone%2Fscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smittytone","download_url":"https://codeload.github.com/smittytone/scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248765999,"owners_count":21158296,"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","macos","raspberry-pi","shell","xcode","zsh"],"created_at":"2024-10-31T22:10:01.784Z","updated_at":"2025-04-13T18:52:35.170Z","avatar_url":"https://github.com/smittytone.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smittytone’s Script Archive #\n\n*Useful zsh and bash scripts*\n\nIn the case of scripts which operate as utilities, use the `--help` switch to learn how to make use of the tool. Scripts which are intended to be run once \u0026mdash; for example, the Raspberry Pi setup scripts \u0026mdash; are documented in comments. Scripts run in other contexts, eg. in Xcode, are not yet documented.\n\n## Tools and Utilities ##\n\n### outman.zsh ###\n\nOutput man pages to text files. Specify the page and its output text file as pairs of arguments.\n\n- [View Script](outman.zssh)\n\n### image\u0026lt;num/prep\u0026gt;.sh ###\n\nImage processing scripts. See [this blog post](https://smittytone.wordpress.com/2019/10/24/macos-image-manipulation-with-sips/).\n\n**Note** imageprep 5.2.0 reverses the order of crop, scale and pad dimensions *from* \u003cheight\u003e \u003cwidth\u003e *to* \u003cwidth\u003e \u003cheight\u003e.\n\n- [View Image Cropping/Padding/Scaling Script](imageprep.sh)\n- [View Image Numbering Script](imagenum.sh)\n\n### cs.sh ###\n\nConfirm or reject a downloaded file’s SHA-256.\n\n- [View Script](cs.sh)\n\n### lowerext.sh ###\n\nConvert the working directory’s file extensions to lowercase.\n\n- [View Script](lowerext.sh)\n\n### pdfer.sh ###\n\nConverts `.docx` files downloaded from Google Docs to `.pdf`.\n\n- [View Script](pdfer.sh)\n\n### cbz_blitzer.sh ###\n\nScans a folder (and sub-folders) for .cbz files and converts them to .pdf files. Created for a one-off project. Included here to record folder scanning and file manipulation algorithms.\n\n- [View Script](cbz_blitzer.sh)\n\n## Xcode and Development ##\n\n### iconprep.sh ###\n\nmacOS/watchOS/iOS app icon maker script.\n\n- [View Script](iconprep.sh)\n\n### xcodeautobuild.sh ###\n\nXcode-oriented build script for auto-incrementing a project's build number at build time.\n\n- [View Script](xcodeautobuild.sh)\n\n### packcli.zsh and packapp.zsh ###\n\nShell scripts to automate the creation of macOS app installer packages, and their signing and notarization. For use with apps distributed outside the Mac App Store.\n\n- [View packapp Script](packapp.zsh)\n- [View packcli Script](packcli.zsh)\n\n## Mac Setup and Config ##\n\n### updatemac.zsh / updatemac.sh ###\n\nUpdate local config files from the `dotfiles` repo.\n\n- [View bash Script](updatemac.sh)\n- [View zsh Script](updatemac.zsh)\n\n### setupmac.sh ###\n\nSet up a new Mac.\n\n- [View Script](setupmac.sh)\n\n## Mac Backup ##\n\n### to\u0026lt;disk/server\u0026gt;.sh ###\n\nLocal media back-up scripts, targeting disk and server.\n\n- [View Disk Script](todisk.sh)\n- [View Server Script](toserver.sh)\n\n## Raspberry Pi Setup and Config ##\n\n### updatepi.zsh / updatepi.sh ###\n\nUpdate local config files from the `dotfiles` repo.\n\n- [View bash Script](updatepi.sh)\n- [View zsh Script](updatepi.zsh)\n\n### \u0026lt;p/z\u0026gt;install.sh ###\n\nSetup scripts for the Raspberry Pi and the Raspberry Pi Zero.\n\n- [View Raspberry Pi Script](pinstall.sh)\n- [View Pi Zero Script](zinstall.sh)\n\n### pi.sh ###\n\nSD card preparation script for Raspberry Pis. **Note** This runs on a macOS host.\n\n- [View Script](pi.sh)\n\n### pireadonly.sh ###\n\nHack a Raspberry Pi to run in read-only mode (no writes to the SD).\n\n- [View Script](pireadonly.sh)\n\n## Miscellaneous ##\n\n### cppy.zsh ###\n\nCopy a bunch of Python files to a CircuitPython device. The first file on the list is renamed `code.py`.\n\n- [View Script](cppy.zsh)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmittytone%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmittytone%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmittytone%2Fscripts/lists"}