How to create a junk file for testing speed-transfers?

Creating a test file – 10MB dummy file
# dd if=/dev/zero of=dummu.file bs=1024 count=0 seek=$[1024*10]

PKG_MIN_SIZE=400k
MAIN_FILE=dummy.file

split -b $PKG_MIN_SIZE $MAIN_FILE segment
## collecting list of all new segment – filenames

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s