Skip to content

Instantly share code, notes, and snippets.

@sentient06
Created December 3, 2024 10:08
Show Gist options
  • Save sentient06/35662e72b75377a44944c7f5c66a0e19 to your computer and use it in GitHub Desktop.
Save sentient06/35662e72b75377a44944c7f5c66a0e19 to your computer and use it in GitHub Desktop.
Classic Macintosh Projects - Script for cleaning
#!/bin/bash
if [ $# -ne 1 ] ; then
echo "Syntax: $0 [project_name]"
exit 1
fi
if [ ! -d "$1" ]; then
echo 'The specified folder does not exist'
exit 1
fi
cd "$1"
rm -rf build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment