Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # bs=file size
- # count=number of tries
- # if=input file
- # of=output file
- # conv='sync' (macos) / 'fadatasync' (linux) wait for I/O-Cache to write data on disk
- dd bs=${bs:-1024} count=${count:-256} if=/dev/zero of=dd_zero_file conv=sync && rm dd_zero_file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement