Created
December 5, 2015 16:21
-
-
Save edib/c02658be887529f8184e to your computer and use it in GitHub Desktop.
bash create many files with number of files parameter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
numberoffiles=$1 | |
for i in `seq 1 $numberoffiles` | |
do dd if=/dev/zero of=`date +%N`.file bs=1024 count=16000 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment