pm-hwks
2/28/2018 - 5:42 PM

[Quickly create lot of small files] Create lot of small files for testing #testing #dummy #generate #test_file #test_data

[Quickly create lot of small files] Create lot of small files for testing #testing #dummy #generate #test_file #test_data

# Quickly create lot of small files
# Reference : https://www.heatware.net/linux-unix/create-large-many-number-files-thousands-millions/
# count = file size x no of files
dd if=/dev/zero of=masterfile bs=1 count=10000000
#split into 10 bytes files with filename length 15
split -b 10 -a 15 masterfile