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