LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2012, 02:30 AM   #1
phuong
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
copy file whose file name containing special characters from Linux to Window


I am trying to copy a folder consisting of quite a few files whose file names contain special characters such as :, ? from Linux to Window.
How should I do?
 
Old 02-28-2012, 02:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you could start by telling us how you're trying to copy. there are a million ways to copy a file between two systems. Is there a network connection involved? As awesome as we are, we aren't psychic.

Personally I'd initially look to use winscp from windows to pull to file back over scp. Shouldn't be any issues there with naming.
 
Old 02-28-2012, 03:28 AM   #3
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by acid_kewpie View Post
....
As awesome as we are, we aren't psychic.

....
I'm sorry, but I had to quote it as it made me a nice day (and I'll use it sometimes too)
 
Old 02-28-2012, 04:12 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by lithos View Post
I'm sorry, but I had to quote it as it made me a nice day (and I'll use it sometimes too)
I knew you'd do that.
 
Old 02-28-2012, 10:52 AM   #5
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Since Windows file-systems are more limited in the characters they support than *nix ones, you're probably going to have to rename the files so that they don't contain any illegal ones.

Although it was really designed for going the other way, detox is one program that might be of assistance.

http://detox.sourceforge.net/
 
  


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
[SOLVED] $@ >> file with special characters dmafcoi Linux - Newbie 15 05-27-2010 03:37 PM
removing file with special characters rsashok Linux - General 4 02-09-2010 04:08 PM
Special characters in file names Jinouchi Linux - Newbie 7 07-25-2009 11:48 AM
converting linux (reiserfs) data to NTFS (file names contain special characters) jefffq Linux - General 2 03-08-2009 03:07 PM
File Copy Issue-Special Characters fortezza Linux - Software 1 11-14-2005 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:58 PM.

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