Code: Select all
# bestfit --help
Usage: bestfit [OPTION]... FILE... [-e COMMAND...]
Determine which FILEs should be put on a CD (or other disk) so that as
little space as possible is wasted. Output the name of those files,
or if --execute specified, execute a command for each.
-8, --80min space is that of an empty 80 min CD (default)
-7, --74min space is that of an empty 74 min CD
-d, --dirs-only ignore non-directory arguments
-s, --space=BLOCKS maximum amount of space allowed to use
-r, --reserve=BLOCKS blocks to reserve (200 by default)
-e, --execute COMMAND... execute commands for each selected file
-i, --invert print/execute for non-fitting files instead
-v, --verbose explain what is being done
-q, --quiet output no diagnostic/information messages
--help display this help and exit
--version output version information and exit
The block-size is fixed to 2048 bytes.
All following arguments after --execute are taken to be arguments
to the command to execute for each selected file. The string `{}'
is replaced by the current file name being processed.