FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-30-2012, 06:41 PM
Brian
 
Default Script request for files truncating with genisoimage

On Mon 30 Apr 2012 at 19:09:02 +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.

You should have the program 'rename' already on your system. so

rename 'y/ /_/' *

will replace a space with a _. Test first with a small number of files
copied to a testing directory.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120430184123.GN3883@desktop">http://lists.debian.org/20120430184123.GN3883@desktop
 
Old 04-30-2012, 08:21 PM
Jon Dowland
 
Default Script request for files truncating with genisoimage

On Mon, Apr 30, 2012 at 07:09:02PM +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? I realise that I'm asking a lot but script
> writing is not something that I'm very good at and dont know where to
> start.

You're doing it wrong :-)

Figure out how to use datapacker. Please provide more info about how you've tried
it so we can help you solve why it isn't working for you. (either in this thread
or in the other.)

Then, generate *multiple* ISOs, one for each disc you're going to burn, and use
-r and -J arguments to genisoimage when you create these ISOs. The individual
DVD images (which will be no larger than about 4.3G if you use datapacker
correctly) will have the filenames correct.

Burn each of these ISOs individually.

The approach you are using is doomed to failure. You're creating a gigantic
ISO, which can't use Rock Ridge and/or Joliet due to the size, and so your
filenames are limited to a max of I think 8 characters without spaces, which
will make distinguishing *any* 2,976 files hard, even if you remove spaces and
rename files to try and help. You're then splitting the ISO image up - which
cannot be used again until recombined - and burning each bit individually, *as
a file within another ISO image, one per disc*! The net result is going to be
five ISO filesystems on DVD-Rs, each containing a single file which is a chunk
of a larger ISO filesystem, with the majority of the file metadata (their long
file names) missing.


--
Jon Dowland


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120430202133.GB16843@debian">http://lists.debian.org/20120430202133.GB16843@debian
 
Old 04-30-2012, 09:09 PM
Sharon Kimble
 
Default Script request for files truncating with genisoimage

On 30/04/2012, Jon Dowland <jmtd@debian.org> wrote:
> On Mon, Apr 30, 2012 at 07:09:02PM +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? I realise that I'm asking a lot but script
>> writing is not something that I'm very good at and dont know where to
>> start.
>
> You're doing it wrong :-)
>
> Figure out how to use datapacker. Please provide more info about how you've
> tried
> it so we can help you solve why it isn't working for you. (either in this
> thread
> or in the other.)
>
> Then, generate *multiple* ISOs, one for each disc you're going to burn, and
> use
> -r and -J arguments to genisoimage when you create these ISOs. The
> individual
> DVD images (which will be no larger than about 4.3G if you use datapacker
> correctly) will have the filenames correct.

But thats what I'm already doing except for using datapacker!
>
> Burn each of these ISOs individually.
>
> The approach you are using is doomed to failure. You're creating a gigantic
> ISO, which can't use Rock Ridge and/or Joliet due to the size, and so your
> filenames are limited to a max of I think 8 characters without spaces,
> which
> will make distinguishing *any* 2,976 files hard, even if you remove spaces
> and
> rename files to try and help. You're then splitting the ISO image up -
> which
> cannot be used again until recombined - and burning each bit individually,
> *as
> a file within another ISO image, one per disc*! The net result is going to
> be
> five ISO filesystems on DVD-Rs, each containing a single file which is a
> chunk
> of a larger ISO filesystem, with the majority of the file metadata (their
> long
> file names) missing.
>
The big iso is split with 'split' to chuncks of 3.9gbs which are
playable, after being burned to dvd, very easily using rhythmbox and
you have no way of knowing that you're hearing music off the dvd
drive.

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.1
Registered Linux user 334501


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAM9u--fY9ui+8AzMHGiyWKHzVdcOMeRskq1W=ejgsQCWgfn2FA@mail. gmail.com">http://lists.debian.org/CAM9u--fY9ui+8AzMHGiyWKHzVdcOMeRskq1W=ejgsQCWgfn2FA@mail. gmail.com
 
Old 05-18-2012, 03:29 AM
Sharon Kimble
 
Default Script request for files truncating with genisoimage

With help from the program creator I've succeeded in using datapacker,
and now know that directory mentioned above will need three DVD's. The
correct command is ;- datapacker -b
~/Music/irish_celtic_music_collection_version_2/%03d -s 4000m -a
hardlink ~/Music/irish_celtic_music_collection_version_2/*.mp3

There, I think that completes the circuit. If you want more
explanation then you need to see my blog <shameless plug>

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.5, Gnome 1:2.30+7, LibreOffice 3.4.6
Registered Linux user 334501


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAM9u--eoxJedvCzo9GPntFub=7oNzCAT1wjD2RD-FJiaAg5ukw@mail.gmail.com">http://lists.debian.org/CAM9u--eoxJedvCzo9GPntFub=7oNzCAT1wjD2RD-FJiaAg5ukw@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 05:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org