You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
scriptform/examples/raw/job_large_bin.sh

11 lines
244 B

#!/bin/sh
FILESIZE=$(expr 1024 \* 1000 \* 100)
cat << EOF
HTTP/1.0 200 Ok
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="large_file.dat"
Content-Length: $FILESIZE
EOF
dd if=/dev/urandom bs=1024 count=100000