Skip to content

Instantly share code, notes, and snippets.

@petervandivier
Last active September 7, 2021 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petervandivier/6a71fb37d9e8db35309d77d746c0a69d to your computer and use it in GitHub Desktop.
Save petervandivier/6a71fb37d9e8db35309d77d746c0a69d to your computer and use it in GitHub Desktop.
date +%FT%T%z
date +%Y%m%dT%H%M%S%z
## 2020-04-30, 11:47:
diff <(jq -S . before.json) <(jq -S . after.json)
du -h --max-depth 1
stat -f "%SB %Sm %N" -t %Y%m%d%H%M%S /var/db/mongodb/index/*
# https://www.freebsd.org/cgi/man.cgi?query=stat
# https://stackoverflow.com/questions/7083943/how-do-i-get-the-date-a-mongodb-collection-was-created-using-mongodb-c-sharp-dri
- "text"
- *bold*
- _italic_
- [link](protocol://url.tld?query=string)
  • "text"
  • bold
  • italic
  • link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment