Skip to content

Instantly share code, notes, and snippets.

@greymd
Created October 18, 2016 14:17
Show Gist options
  • Save greymd/0f6983db25d5986429c210118ae6c7c2 to your computer and use it in GitHub Desktop.
Save greymd/0f6983db25d5986429c210118ae6c7c2 to your computer and use it in GitHub Desktop.
適当にApacheのログの時刻っぽいものを出力する
gseq $(gdate -d '2016-12-16' +%s) 46400 $(gdate -d '2016-12-30' +%s) | awk '{ print $1+int(rand()*46400)}' | xargs -I@ date -r @ '+[%d/%b/%Y %H:%m:%S]' | sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment