Discussion:
genisoimage and files truncating
sharon kimble
2012-04-30 17:56:57 UTC
Permalink
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.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
JLMS
2012-04-30 19:28:27 UTC
Permalink
Post by sharon kimble
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.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
Daniel P. Berrange
2012-04-30 19:43:37 UTC
Permalink
Post by sharon kimble
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
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
--
Gllug mailing list - ***@gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
Loading...