mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-30 13:50:45 +00:00
6 lines
158 B
Bash
Executable File
6 lines
158 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# zero-pads $1 to a multiple of 512 bytes, in place
|
|
|
|
dd if=/dev/null of="$1" bs=1 count=1 seek="$((($(wc -c < "$1") + 511) & -512))" 2>/dev/null
|