Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


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

Rep: Reputation: 51
Filenames with accents disturb cp.

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
$ 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, 08:28 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
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, 10:07 PM   #3
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,625

Original Poster
Rep: Reputation: 51
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.


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 05: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 11:55 AM
Editing of any file in /etc directory will disturb our root login? Karthi_India Linux - Newbie 2 07-14-2007 11:24 PM
Does this not disturb you? cheeseandpenguins SUSE / openSUSE 4 06-23-2007 09:07 AM
Sorry to disturb with mouse abhijitpethkar Linux - Newbie 4 04-17-2004 11:00 AM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:15 AM.

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