LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-21-2006, 02:19 PM   #1
en3r0
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Rep: Reputation: 0
How to Extract a .xml.bz2 file?


I'm trying to extract a wikipedia database dump in linux (slackware 10.2 to be exact). I've tried all kinds of ways to extract it, but it won't work. Even the line they sugest (found here: meta.wikimedia.org/wiki/Data_dumps#importDump.php) dosn't work.

Any suggestions?


God bless,
-en3r0
 
Old 02-21-2006, 02:23 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
the site says:
Quote:
mwdumper can read the .bz2 files directly, but importDump.php requires piping like so: bzip2 -dc pages_current.xml.bz2 | php importDump.php
Have you substituted 'pages_current.xml.bz2' for the actual name of the file?
 
Old 02-21-2006, 09:46 PM   #3
en3r0
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Alright thanks, not sure what I was doing wrong, but that worked, thanks man.


God bless,
-en3r0
 
  


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
how to extract a "tar.bz2" file? deWin Linux - Newbie 11 11-04-2009 11:55 PM
tar.bz2 Fails To Extract carlosinfl Linux - General 6 10-16-2005 12:33 PM
extract .tar.bz2 EcceVery Debian 3 11-24-2004 12:39 PM
Extract multiple bz2 files hq4ever Linux - Newbie 4 06-24-2004 12:03 AM
How to extract tar.bz2 files? akihandyman Linux - Newbie 3 12-21-2003 03:17 PM


All times are GMT -5. The time now is 03:36 AM.

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