LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2012, 02:17 AM   #1
Huamin
Member
 
Registered: May 2011
Posts: 562

Rep: Reputation: 12
Cannot copy it


Hi,
I see the log file below
[root@localhost users]# cd /home/HuaMin/.teamviewer/5/drive_c/users
[root@localhost users]# find -name "*.log"
./HuaMin/Application Data/TeamViewer/TeamViewer5_Logfile.log

Why can’t I copy it below?
[root@localhost users]# cp ./HuaMin/Application Data/TeamViewer/TeamViewer5_Logfile.log /root
cp: cannot stat `./HuaMin/Application': No such file or directory
cp: cannot stat `Data/TeamViewer/TeamViewer5_Logfile.log': No such file or directory
[root@localhost users]# cp ./HuaMin/Application Data/TeamViewer/TeamViewer5_Logfile.log
cp: cannot stat `./HuaMin/Application': No such file or directory
 
Old 02-24-2012, 02:31 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
There is a space in the path, between Application and Data. You have to escape this space, so that your command looks like this:
Code:
cp ./HuaMin/Application\ Data/TeamViewer/TeamViewer5_Logfile.log /root
 
1 members found this post helpful.
  


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
dow copy copy-protected cds with dd commant gh_D_ir Linux - Software 4 04-01-2011 04:41 PM
CLI copy is greater than GUI copy ?? 0_o killahsmurf Slackware 14 01-04-2006 11:53 AM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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