sharon kimble | 30 Apr 2012 19:56

genisoimage and files truncating

i am using genisoimage on this folder ...../home/boztu/Music/Irish Celtic 
Music Collection Version 2 .... which contains 2976 mp3s, but it is truncating 
the file names after the first word of their title. It appears to be doing this 
at the first space that it encounters, so I'm hoping someone can help me by 
suggesting a script that I can run that will remove all spaces in the file 
names, before .mp3, to enable genisoimage to run properly. The iso it creates 
is 18.9gbs in size and I then run split to make it into 4gb sized files to be 
burnt to dvds.

Can you help me please?

Thanks
Sharon. 
--

-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 6,0.4, Gnome 1:2.30+7, LibreOffice 3.5.2
Registered Linux user 334501 
--
Gllug mailing list  -  Gllug <at> gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug

JLMS | 30 Apr 2012 21:28

Re: genisoimage and files truncating

On 30 April 2012 18:56, sharon kimble <boudiccas <at> talktalk.net> wrote:
> i am using genisoimage on this folder ...../home/boztu/Music/Irish Celtic
> Music Collection Version 2 .... which contains 2976 mp3s, but it is truncating
> the file names after the first word of their title. It appears to be doing this
> at the first space that it encounters, so I'm hoping someone can help me by
> suggesting a script that I can run that will remove all spaces in the file
> names, before .mp3, to enable genisoimage to run properly. The iso it creates
> is 18.9gbs in size and I then run split to make it into 4gb sized files to be
> burnt to dvds.
>
> Can you help me please?
>
> Thanks
> Sharon.

What do you want to achieve?

genisoimage seems quite a complicated beast, there are graphic tools
that do most of the heavy lifting of providing the correct parameters
for you when creating data DVDs ensuring names are preserved correctly
(brasero or K3b just to name a couple).
--
Gllug mailing list  -  Gllug <at> gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug

Daniel P. Berrange | 30 Apr 2012 21:43

Re: genisoimage and files truncating

On Mon, Apr 30, 2012 at 06:56:57PM +0100, sharon kimble wrote:
> i am using genisoimage on this folder ...../home/boztu/Music/Irish Celtic 
> Music Collection Version 2 .... which contains 2976 mp3s, but it is truncating 
> the file names after the first word of their title. It appears to be doing this 
> at the first space that it encounters, so I'm hoping someone can help me by 
> suggesting a script that I can run that will remove all spaces in the file 
> names, before .mp3, to enable genisoimage to run properly. The iso it creates 
> is 18.9gbs in size and I then run split to make it into 4gb sized files to be 
> burnt to dvds.
> 
> Can you help me please?

The original 9660 ISO format has unrealistically short limits filenames,
and the type of characters that are allowed. When you're creating ISO
images you always want to turn on the Joliet & Rock Ridge extensions,
which allows much longer filenames & near arbitrary filename characters.
This is all described in the genisoimage man page, which I'd recommend
reading for a fuller understanding of what these options do

  genisoimage -J -r ...your other options...

Also, you don't really want to just create a 18 GB ISO image and use
split to distribute it across separate DVDs, otherwise the only way
to access the data is to copy all DVDs back to your HD and join the
ISO again. Instead group your music into a set of collections each
4 GB or less and create separate ISO images per DVD.

Regards,
Daniel
--

-- 
(Continue reading)


Gmane