fill - npedotnet/npe-tools GitHub Wiki

fill

creating a random binary file or creating a binary file filled with specific character.

Usage

fill [-i inputfile] -o outputfile -s size [-c character]

Options

Option Description
-i inputfile input file name
-o outputfile output file name
-s size output file size(max 1GByte)
k/m/g
ex. -s 0.5k
-c character filled character
random character when abbreviated
Hex
ex. -c 0x00

Examples

Creating a 0.5 KByte random file

fill -o random.bin -s 0.5k

Creating a 1 KByte file filled with 0x00

fill -i test.txt -o test.bin -s 1k -c 0x00
⚠️ **GitHub.com Fallback** ⚠️