LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2008, 05:14 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Very long file names and the truncation problem.


Hi.
May be I download a .html file from the web and the file name has
a kilometric length. Then I write it to cd-rom. But then I find
the name has been truncated (Joliet has an upper bound for the
number of chars in the name). As a consecuence, the files under
the directory of the same name, such as the .gif, become inaccessible.
Is there a solution?
 
Old 03-22-2008, 11:20 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, and welcome to LQ!

Yah. Rename them before burning.



Cheers,
Tink
 
Old 03-22-2008, 11:25 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
To add to Tinkster's suggestion to shorten the filename, you may have to edit the .html code. Look for long file or directory names that need to be made shorter, especially references to the directory name in which the .gifs are located.
 
Old 03-22-2008, 11:37 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
And since kilometric doesn't really tell us much about the
actual length of the filename ...
http://en.wikipedia.org/wiki/Iso9660

And with the use of Joliet & Rock Ridge the 8.3 names can be
made longer. Read "man mkisofs" - search for "Rock Ridge"
and/or "Joliet" for details, and then decide what you want
to do with the filenames ;}


Cheers,
Tink
 
Old 03-25-2008, 10:59 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Hi.
I started this thread and have found a solution. Before I
give it: by kilometric names I mean names more than 100
chars in length. These names happen to occur when, in an
internet page, one uses the browser's File>Save Page As
menu. Here a dialog box opens. And the solution is simply,
within the dialog box, to edit the name to a proper length.
The new name can be any name, subject to the specification
of the standard being used.

The o.s., or someone else, will take care that the path
name written into the html is the same as the path of the
directory under which the "ancillary" files reside.



Thank you for your time.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fat32 Long file names cppkid Programming 1 07-29-2005 04:01 AM
long file names; fatso32 itzfritz Linux - General 7 11-14-2004 06:56 PM
dosfs and long file names Ipolit Slackware 3 12-08-2003 01:36 PM
I can't read long file names on my CDROM sutcli Linux - Newbie 3 11-02-2003 02:42 PM
Long File Names Pwcca Linux - General 1 03-05-2003 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration