Thursday, August 4, 2011

[LINUX_Newbies] Re: Need help with "mv" command

 

I cobbled together a short script to do essentially this for a friend some
years back. [...] Ah, here it is:

http://www.cskk.ezoshosting.com/cs/css/bin/splitdir

Basicly you iterate over the files, eg with find, and stat them to watch
their size. Make a directory and link (ln) the files into it until it
is too full, proceed to a new directory.

You end up with a bunch of directories suitably sized for burning to
your media and your files still in their original locations too (because
of the hard links).

Then you just burn each dir to your media with the tool of your choice.
Mine's a wrapper for cdrecord:

http://www.cskk.ezoshosting.com/cs/css/bin/mkcd

Anyway, that may get you started.

Cheers,
--
Cameron Simpson <cs@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

According to obituary notices, mean and hateful people never die. - Spy

__._,_.___
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment