# Check if app is running and if not, open it
pgrep PhotoSync >/dev/null 2>&1; if [ $? -eq 0 ]; then :; else open /Applications/PhotoSync.app; fi
Created
December 2, 2022 07:05
-
-
Save jpaulickcz/d383b696d5cdd18349cf6504e9907a2a to your computer and use it in GitHub Desktop.
macOS one liners
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment