diff --git a/uuid b/uuid index 90d062f..fcd57eb 100755 --- a/uuid +++ b/uuid @@ -14,16 +14,18 @@ setopt null_glob function main { - declare -a UUID_PATHS=($HOME/Library/Application\ Support/CrashReporter/* \ - $HOME/Library/Dictionaries/CoreDataUbiquitySupport/* \ - $HOME/Library/Containers/*/Data/Library/Application\ Support/CrashReporter/*) + declare -a UUID_PATHS=("${HOME}/Library/Application Support/CrashReporter/" \ + "${HOME}/Library/Dictionaries/CoreDataUbiquitySupport/" \ + "${HOME}/Library/Containers/*/Data/Library/Application Support/CrashReporter/") # $HOME/Library/Keychains/$UUID/ # Inside $HOME/Library/Keychains/ there will be a directory named after the UUID of the system - declare -a UUID_FILES=($HOME/Pictures/Photos\ Library.photoslibrary/database/Photos.sqlite.lock) + # $HOME/Library/Preferences/ByHost/com.apple.loginwindow.UUID.plist + + declare -a UUID_FILES=("$HOME/Pictures/Photos Library.photoslibrary/database/Photos.sqlite.lock") echo "Paths which potentially contain UUID:" for UUID_PATH in "${UUID_PATHS[@]}"; do - echo "${UUID_PATH}" + echo "${UUID_PATH}"* done echo