syntax error near unexpected token ('

mantingfeng

New Member
Joined
Jun 15, 2019
Messages
4
Reaction score
1
Credits
0
well,I know how to solve this problem after goole,however,my situation is rather more embrassed!my document have blank,and linux regard my document as two different parts,I want to know how to solve this issue.I'll be rather grateful for your help!Thanks!
 


arochester

Moderator
Staff member
Gold Supporter
Joined
Apr 25, 2017
Messages
1,629
Reaction score
1,298
Credits
3,067
More information would help.

What are you doing or trying to do?
 
OP
M

mantingfeng

New Member
Joined
Jun 15, 2019
Messages
4
Reaction score
1
Credits
0
More information would help.

What are you doing or trying to do?
I'm sorry,I forget the way to ask a question.Well,I want to move my document,and can only do it during linux environment due to ip blocked.so tools like Winscp and so on can not help me.
following picture is my situation!
4103

Thanks for your help!

And I have a little interest about your name 'arochester',what dose it mean.

Thanks again!
 
Last edited:

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,206
Reaction score
6,115
Credits
24,201
G'day @mantingfeng and welcome to linux.org :)

I am moving this Thread to Command Line, where questions on scripting are better answered.

Good luck

Chris Turner
wizardfromoz
 

Rob

Administrator
Staff member
Joined
Oct 27, 2011
Messages
905
Reaction score
1,709
Credits
1,065
Good morning,

I'm having a hard time trying to see part of your command.. looks like you're blocking a domain name perhaps. can copy/paste the commands along with the errors and paste them here?
 

JasKinasis

Well-Known Member
Joined
Apr 25, 2017
Messages
1,464
Reaction score
2,082
Credits
10,249
It's because you have a space in your file-name. You need to escape the space by pre-pending it with a backslash character. Just like you did with the brackets around the 4.
E.g.
Code:
mv video\ \(4\).mp4 /path/to/destination/
 

TechnoJunky

Well-Known Member
Joined
Dec 3, 2018
Messages
493
Reaction score
390
Credits
314
You can also surround the text with quotes, may be easier than using the backslashes.

mv "video (4).mp4" ./download/whatever/
 
Last edited:
OP
M

mantingfeng

New Member
Joined
Jun 15, 2019
Messages
4
Reaction score
1
Credits
0
It's because you have a space in your file-name. You need to escape the space by pre-pending it with a backslash character. Just like you did with the brackets around the 4.
E.g.
Code:
mv video\ \(4\).mp4 /path/to/destination/
Thank you very much!I had solved this issue as your advise.
Thanks again!
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top