Skip to content

Instantly share code, notes, and snippets.

@ecormaksin
Last active October 18, 2021 05:58
Show Gist options
  • Save ecormaksin/26110fb6358531e7d639666673310625 to your computer and use it in GitHub Desktop.
Save ecormaksin/26110fb6358531e7d639666673310625 to your computer and use it in GitHub Desktop.
連番でダミーデータを作成するシェルコマンド
for i in {1..100}; do (TIMESTAMP_STR=`date +%Y%m%d_%H%M%S_%3N`; dd if=/dev/zero of="${TIMESTAMP_STR}_dummy_$i" bs=1M count=10;); done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment