LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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: 4,442

Rep: Reputation: 76
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,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
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: 4,442

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



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 / openSUSE 4 06-23-2007 08:07 AM
Sorry to disturb with mouse abhijitpethkar Linux - Newbie 4 04-17-2004 10:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:26 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