setup scripts
This commit is contained in:
parent
e1194a4877
commit
08cd03bf8f
3 changed files with 34 additions and 1 deletions
|
|
@ -1,5 +1,10 @@
|
|||
#! /bin/zsh
|
||||
|
||||
|
||||
|
||||
#uncomment if you want to delete all .setup_complete files and process everything
|
||||
#find . -name '*.setup_complete' -type f -delete
|
||||
|
||||
#if file name .setup_complete exists, exit
|
||||
if [ -f .setup_complete ]; then
|
||||
echo "This folder has already been prepped. Please delete the .setup_complete file if you would like to run this script again."
|
||||
|
|
@ -41,4 +46,5 @@ find . -name '*.otf' -type f -exec mv {} OTF \;
|
|||
|
||||
# Recurse through all folders and subfolders and delete all empty folders
|
||||
find . -type d -empty -delete
|
||||
# create a .setup_complete file to indicate that the folder has been prepped
|
||||
touch .setup_complete
|
||||
Loading…
Add table
Add a link
Reference in a new issue