gaffitter

Langue: en

Autres versions - même langue

Version: 264047 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

gaffitter - File subsets extractor based on genetic algorithms

SYNOPSIS

 gaffitter -t|--target value [OPTION]... FILE...
 gaffitter - -t|--target value [OPTION]... [FILE]...
 

DESCRIPTION

gaffitter (Genetic Algorithm File Fitter) is a command-line software written in C++ that extracts --via genetic algorithm-- subsets of an input list of files/directories that best fit the given volume size (target), such as CD, DVD and others.

If gaffitter is executed using the second option listed above, the information about files is fetched from stdin.

OPTIONS

General options:
-t, --target VALUE (float)
Set VALUE as target size (mandatory), VALUE > 0.0
-b, --bytes
Target, min and max size in bytes.
-k, --kb
Target, min and max size in kibi bytes (KiB).
-m, --mb
Target, min and max size in mebi bytes (MiB) [default].
-g, --gb
Target, min and max size in gibi bytes (GiB).
--si
Use powers of 1000 (not 1024) for target, min, max and output sizes.
-i, --iter VALUE
Use VALUE as maximum number of iterations (volumes) [default = "unlimited"].
-v, --verbose
Verbose.
--min, --min-size VALUE
Minimum file size [default = none].
--max, --max-size VALUE
Maximum file size [default = none].
--bs, --block-size VALUE
The smallest amount of bytes a file can occupy [default = 1].
--ss, --show-size
Print the size of each file.
--sb, --show-bytes
Also print the sizes in bytes.
--su, --show-unselected
Print unselected files.
--hsel, --hide-selected
Don't print selected files.
--hs, --hide-summary
Hide summary line containing sum, difference and number of selected files.
-s, --sort-by-size
Sort the output by size, not by name.
-n, --no-case
Use case-insensitive sorting.
-r, --sort-reverse
Sort the output in reverse order.
--ew, --enclose-with CHAR
Enclose file names with CHAR [default = none]
--dw, --delimit-with CHAR
Delimit file names (lines) with CHAR [default = newline]
--version
Print gaffitter version and exit.
-h, --help
Print help and exit.
Direct Input options:
--di, --direct-input
Switch to direct input mode, i.e., read directly "size identifier" pairs instead of file names.
--di-b, --di-bytes
Assume input sizes as bytes.
--di-k, --di-kb
Assume input sizes as kibi bytes (KiB).
--di-m, --di-mb
Assume input sizes as mebi bytes (MiB).
--di-g, --di-gb
Assume input sizes as gibi bytes (GiB).
--di-si
Use powers of 1000 (not 1024) for input sizes.
Genetic Algorithm options:
--ga-s, --ga-seed VALUE (integer)
GA initialization seed, VALUE >= 0 [default = 1]. Zero means random.
--ga-rs, --ga-random-seed
Use rendom GA seed (same as --ga-seed 0).
--ga-ng, --ga-num-generations VALUE (integer)
Maximum number of generations, VALUE > 0 [default = auto]
--ga-ps, --ga-pop-size VALUE (integer)
Number of individuals, VALUE > tournament_size [default = auto]
--ga-cp, --ga-cross-prob VALUE (float)
Crossover probability, 0.0 <= VALUE <= 1.0 [default = 0.95]
--ga-mp, --ga-mutation-prob VALUE (float)
Mutation probability (per gene), 0.0 <= VALUE <= 1.0 [default = auto]
--ga-sp, --ga-sel-pressure VALUE (integer)
Selection pressure (tournament size), 2 <= VALUE < pop_size [default = 2]
Other search methods:
--bf, --brute-force
Tries all possible combinations (use carefully!).
--ap, --approximate
Approximate the solution using Best First search (non-optimal but very fast).
--sp, --split
Just split the input when target size is reached (preserves original order while splitting).

AUTHOR

Written by Douglas A. Augusto <daaugusto@gmail.com>. This manpage has been written by Nacho Barrientos Arias <chipi@criptonita.com> for the Debian GNU/Linux system (but may be used by others).

BUGS

Report bugs to Douglas A. Augusto <daaugusto@gmail.com>. Copyright © 2005-2008, Douglas A. Augusto <daaugusto@gmail.com> - All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, Inc.

SEE ALSO

http://gaffitter.sourceforge.net/