LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-28-2011, 08:55 AM   #1
afdownload
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Rep: Reputation: 0
problem with UNZIP in centos


dear guys,

i have a server with a centos installed on it and the kloxo panel too. I have a problem with unzipping files.

PHP Code:
[root@server files]# unzip Ensan-va-Eslam.zip
Archive:  Ensan-va-Eslam.zip
  inflating
Ensan va Eslam.pdf
  inflating
www.afdownload.com.txt
  inflating
www.afdownload.com.jpg 
PHP Code:
[root@server files]# unzip WinRAR-4.00_Beta-5_(AFDownload.com).zip
-bashsyntax error near unexpected token `(' 
the first file has no directories inside and extracted successfully but the second file which contains directories can not be extracted. this problem is about all .zip files in the server. please help me out!
 
Old 01-28-2011, 08:59 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
Code:
-bash: syntax error near unexpected token `('
Actually this is a shell error not an unzip fault. The parentheses have a special meaning in bash, so that you have either to escape them or embed the file name in double or single quotes:
Code:
unzip WinRAR-4.00_Beta-5_\(AFDownload.com\).zip 
unzip "WinRAR-4.00_Beta-5_(AFDownload.com).zip"
 
1 members found this post helpful.
Old 01-28-2011, 11:25 PM   #3
afdownload
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
thanks colucix,

unzip "WinRAR-4.00_Beta-5_(AFDownload.com).zip"
this helped me extract the file in linux,

but now comes the real problem, actually as I said I have KLOXO installed at the server, the same files cannot be extracted through the KLOXO panel. what should I do there? what is the problem with KLOXO?
 
  


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
Problem with UNZIP sammano Linux - General 5 04-10-2007 01:22 AM
unzip rar. files problem nos1833 Debian 1 07-20-2006 08:34 AM
about unzip to unzip some chinese files' trouble arcow Linux - Software 0 03-24-2006 02:25 AM
Problem installing unzip Dragon, Interrupted Linux - Software 3 10-04-2005 07:19 PM
Problem with unzip Jerk-0 Linux - Newbie 4 03-22-2004 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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