[Klug-general] genisoimage and files truncating.
David Halliday
david.halliday at gmail.com
Mon Apr 30 18:22:24 UTC 2012
touch "test file"
for file in *" "*; do echo "File: ${file}"; newFile=`echo "${file}" | sed
-e 's/ /_/g'`; echo "New File: ${newFile}"; mv "${file}" "${newFile}"; done
File: test file
New File: test_file
I can't document it now but with luck man pages and google will help. Run
the one line command (which is a loop of multiple commands) in the
directory with files with spaces in. Replaces them with underscore.
On 30 April 2012 18:50, 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?
>
> Thank
> 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
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20120430/2d3b999c/attachment.htm>
More information about the Kent
mailing list