LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 12-30-2012, 05:45 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Rep: Reputation: 46
Filenames with accents disturb cp.


Hi:
Code:
mkisofs -graft-points -rational-rock -joliet -joliet-long -full-iso9660-filenames -iso-level 2 -o /tmp/image.iso  STORE1/=/almacen/strauss
In /almacen/strauss there are filenames containing not only spaces but accented characters as well. I burned the image to DVD, with the result that all spaces and accents were conserved. This seems to contradict use of the option -full-iso9660-filenames as well as -iso-level 2, and has an undesirable side effect, as will be seen.

I now copy the DVD to the hard disk, and if the current directory is in an NTFS partition, I get
Code:
$ cp -r /mnt/cd0/STORE1 . 
cp: cannot create regular file 'some_file_name': Invalid or incomplete multibyte or wide character.
for those filenames that contain an accent.

Any way to avoid this cp error?

Slackware 14.0
 
Old 01-07-2013, 07:28 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
The '-joliet' argument is probably why the files are copied successfully, in regard to the issue with NTFS you may need to look at the output character set but that's just a guess.
 
Old 01-07-2013, 09:07 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Original Poster
Rep: Reputation: 46
Thanks, it seemed to me that command line (mkisofs) had some contradictions. I'll will have to amend it in the future. But there is a trouble. Not using -joliet-long can clip some very long *_files directory names, and the corresponding .html would never locate the *_files directory. It seems the only solution is renaming when in the Save As dialog box. Or else editing the .html file, a bit bothersome. Don't understand how this being such a common situation it has not a common solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Bash] Rename filenames with corresponding filenames Power2All Linux - Software 4 12-02-2009 04:15 AM
Asterisk 1.4x Do Not Disturb to Forward? & Can you push a call to FXS port via ext? Lantzvillian Linux - Server 1 04-12-2008 10:55 AM
Editing of any file in /etc directory will disturb our root login? Karthi_India Linux - Newbie 2 07-14-2007 10:24 PM
Does this not disturb you? cheeseandpenguins Suse/Novell 4 06-23-2007 08:07 AM
Sorry to disturb with mouse abhijitpethkar Linux - Newbie 4 04-17-2004 10:00 AM


All times are GMT -5. The time now is 09:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration