reset illustrator script added

This commit is contained in:
victor 2021-01-06 16:05:35 +03:30
parent 5186ca53e7
commit fb1f5331d1
1 changed files with 18 additions and 0 deletions

18
scripts/resetIllustrator.sh Executable file
View File

@ -0,0 +1,18 @@
#! /usr/bin/env bash
source "sharedFuncs.sh"
function resetIllustrator() {
load_paths
show_message2 "reset illustrator..."
resetDIR="$SCR_PATH/IllustratorCC17/Data"
if [ -d "$resetDIR" ];then
show_message2 "reset dir found..."
rm -rf "$resetDIR" || error2 "illustrator error failed"
echo "illustrator reset successfully."
else
error2 "directory not exist"
fi
}
resetIllustrator