LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 03: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, 03:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 04: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, 05:12 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 11:52 AM   #5
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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


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


All times are GMT -5. The time now is 02:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration