f3/f3write.h2w
Michel Machado 9604f8b3df f3write.h2w: add support to all f3write's commands
The previous version of f3write.h2w didn't recognize
parameters --start-at= and --end-at=.

The new code of f3write.h2w also avoids overwritting
the environment variable PATH.
2014-08-22 10:26:12 -04:00

7 lines
89 B
Bash
Executable File

#!/bin/bash
f3write "$@" || exit 1
FILES=("${@: -1}/*.h2w")
truncate --size=/1M $FILES