Copyright (C) 2020-2024, Christophe Calmejane
Bash Utils is a collection of bash scripts designed to improve developers productivity.
Scripts designed to be called directly from the command line.
Script to batch process files, correcting them (chmod, end of line, clang-format).
Script to list includes files to generate a PCH file.
Script to update the copyright year of files.
Scripts designed to be called from another script.
Script to automate Apple Notarization process.
You can store your password in the keychain for easier process. You will first have to generate an app-specific password:
- Sign in to your Apple ID account page.
- In the Security section, click Generate Password below App-Specific Passwords.
- Follow the steps on your screen.
- Store the generate app-specific password in the keychain using this command
- xcrun altool --store-password-in-keychain-item "AC_PASSWORD" -u "YourAppleID" -p "GeneratedPassword"
Usage: notarize_binary.sh <Binary Path> <User Name> <Password> <Notarization Bundle Identifier>
<Binary Path>
is the path to the binary you want to notarize. It should either be a zip, an application bundle, or a dmg<User Name>
is YourAppleID<Password>
is "@keychain:AC_PASSWORD"<Notarization Bundle Identifier>
is any bundle identifier you want (might be different than the actual application)
Script to generate a CMake solution.
Script to generate a product installer.
Script to load and parse a config file.
Set of useful bash functions.