Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yolleksandr/30fd4534e38ad0b6a92f215222bf5257 to your computer and use it in GitHub Desktop.
Save yolleksandr/30fd4534e38ad0b6a92f215222bf5257 to your computer and use it in GitHub Desktop.
Sed
Enable millisecond resolution for java log4j for all .xml files with backup:
find . -name "*xml" -print0 | xargs -0 sed -i.no_milliseconds 's/:ss/:ss\.SSS/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment