Skip to content

Instantly share code, notes, and snippets.

@5SMNOONMS5
Created March 14, 2018 08:40
Show Gist options
  • Save 5SMNOONMS5/4a0cf0d6dbcd3dc328063b11062a624e to your computer and use it in GitHub Desktop.
Save 5SMNOONMS5/4a0cf0d6dbcd3dc328063b11062a624e to your computer and use it in GitHub Desktop.
gunzip .xcactivitylog
# Thanks to here https://stackoverflow.com/questions/13861658/is-it-possible-to-search-though-all-xcodes-logs
EXT=".xcactivitylog"
for LOG in *.xcactivitylog; do
NAME=`basename $LOG $EXT`
gunzip -c -S $EXT "${NAME}${EXT}" > "${NAME}.log"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment