Last active
December 19, 2023 09:40
-
-
Save NbtKmy/2396e9cd93df1f5bb59fc9ad1da26773 to your computer and use it in GitHub Desktop.
to remove unnecessary Mac-files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "Bitte einen Ordner für Variabel nennen" | |
exit 1 | |
fi | |
find $1 -name ".DS_Store" -type f -ls -delete | |
rm -rf "$1/__MACOSX" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
usage: