Algorithm-Knapsack
view release on metacpan or search on metacpan
bin/filesack view on Meta::CPAN
B<filesack> - pack a medium with files to the maximum
=head1 SYNOPSIS
B<filesack> { size | B<-c> | B<-d> } F<file> ...
=head1 DESCRIPTION
The B<filesack> program finds one or more subsets of files or directories
with the maximum total size not exceeding a given size. Its output looks
as follows:
size
file
file
file
size
file
file
...
( run in 0.407 second using v1.01-cache-2.11-cpan-64827b87656 )