arrange files and directories in CD-sized bins?

Fernan Aguero fernan at iib.unsam.edu.ar
Wed May 10 13:52:45 PDT 2006


Hi!

I'm trying to help a FreeBSD user with a slow (dialup) link
by providing him with CDs containing distfiles.

My /usr/ports/distfiles directory holds 3.0Gb of data, and
although I can generate a tarball and split it
in multiples of 650MB or 700MB (the CD capacity) using
split(1), I would much rather like to generate ~ 5 ISO
images each containing the files. This way it'll be much
easier for him to access it.

Now, I can go on and manually arrange the distfiles so as to
minimize the number of CDs needed ... but I thought that
perhaps this could be automated in some way? 

Anyone know of a tool that given a list of files and
directories with their sizes arranges them in lists of MAX
XXX bytes?

Fernan


More information about the freebsd-questions mailing list