LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-12-2011, 06:15 PM   #16
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 257

Rep: Reputation: 58

What happened to e as in extract


7z (or unrar---7z is a little faster) e part1.rar (No dash in front of the e)

It's always worked for me.

Never used x with either 7z or unrar.
 
Old 09-13-2011, 04:35 PM   #17
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 253

Rep: Reputation: 36
I once downloaded some .rar files off the 'Net which I thought I'd have no trouble to unpack, since I've got rar here. Come to find out, newer WinRar, which is likely what someone used to make the archive, uses a different format. I had to download some trial version of WinRar and run it under Wine (not being aware of a Linux command line WinRar). Don't blame Linux - this is another example of formats changing in the Windows world in order to keep people chained to Windows; that is, lock-in. When you throw your hands up in the air and resort to using Windows, they've won.

BTW, the difference in the "e" and "x" extraction options usually means without or with full path names, assuming they were included to begin with.
 
Old 09-14-2011, 06:18 AM   #18
ashesh0326
Member
 
Registered: Jan 2007
Distribution: Suse 10.0, FC 6
Posts: 93

Rep: Reputation: 15
Quote:
Originally Posted by kuriharu View Post
Thanks for the tip. I did manage to install p7zip but 7x says "command not found". I tried using p7zip x file.part01.rar, but it still didn't work. Arrrggghhh!! Why does WinRAR work and the command line doesn't???
It's '7z x' and not '7x'. Ofcourse '7x' will throw a command not found. '7z' will not.
 
Old 09-15-2011, 08:25 AM   #19
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,192

Rep: Reputation: 96
If WinRAR works with the files on Windows, install it under Wine on Linux. Uninstall it on your Windows PC or purchase another license to be on the up and up.

Ken

p.s. The only issue I have with WinRAR 3.93 on Wine is that it does not seem to remember that I installed my license file. But it works fine other than that.

Last edited by taylorkh; 09-15-2011 at 08:27 AM.
 
Old 09-15-2011, 09:01 AM   #20
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
Quote:
Originally Posted by kuriharu View Post
Hello,

I've downloaded some torrents, and someone CONVENIENTLY made them a multiple file archive instead of a single file.

I've tried unrar -x <filename>-part1.rar, which it says it completes, then I don't see the file. What do I need to do? WinRAR usually decompresses them just fine, but on Linux is where I have the problem.

More importantly, why on Earth would anybody do this?
It could be hjsplit/lxsplit files. They are more commonly labeled 'filename.rar.001' but I believe that they can be called 'part1.rar' etc.. Basic directions for how to use lxsplit here (if I'm right, you may have to remane the files from part1.rar etc. to .rar.001 etc.)-

http://lxsplit.sourceforge.net/

So far lxslit files are the only major 'archiving' format I've found that wont open/extract on linux from the archiving tool GUIs (ark, squeeze, etc.)

As for why somebody did that- could be any of several reasons, probably the most common is so that people can include 'recovery' parts in the archive.
 
  


Reply

Tags
already, compress, compression, files, rar


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] How do I change ca.archive.ubuntu.com to ca2.archive.ubuntu.com at the command line kennymw Linux - Newbie 3 09-01-2009 02:52 AM
Torrent Plants vs. Zombies archive type not supported after installing unrar cman26 Linux - Games 1 06-04-2009 03:28 PM
Can not unrar Christoffer81 Linux - Newbie 3 06-15-2004 08:38 AM
How to use unrar? JunZ Linux - Software 1 06-05-2004 08:36 PM
importing an MS Outlook archive archive.pst alloydog Linux - Software 2 08-29-2003 03:02 PM


All times are GMT -5. The time now is 10:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration