mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-30 13:50:45 +00:00
8 lines
149 B
Plaintext
8 lines
149 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
totalsize=$1
|
||
|
outfile=$2
|
||
|
filesize=`stat -f "%z" "$outfile"`
|
||
|
padsize=$((512-$filesize))
|
||
|
dd if=/dev/zero bs=1 count=$padsize >> "$outfile"
|