Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] extracting multiple rar files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
braks
n00b
n00b


Joined: 07 Aug 2006
Posts: 4
Location: Colorado

PostPosted: Mon Aug 07, 2006 7:00 pm    Post subject: [SOLVED] extracting multiple rar files Reply with quote

I have a directory with multiple rar files that need to be extracted:
file001.rar
file002.rar
file003.rar
file004.rar
...
file239.rar

I tried "rar x *.rar" and i get:

Extracting from file001.rar

No files to extract

Same thing happens with "rar e *.rar"
What command do i have to use for this?
Do i need to combine find, cat, or grep with a pipe?


Last edited by braks on Mon Aug 07, 2006 7:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
occ
Apprentice
Apprentice


Joined: 06 May 2005
Posts: 202

PostPosted: Mon Aug 07, 2006 7:04 pm    Post subject: Reply with quote

>$ for file in `ls -d1 *.rar` ; do rar x $file ; done
Back to top
View user's profile Send private message
braks
n00b
n00b


Joined: 07 Aug 2006
Posts: 4
Location: Colorado

PostPosted: Mon Aug 07, 2006 7:16 pm    Post subject: Reply with quote

Extracting as i type! sorry for my noobness Thanks though.
Back to top
View user's profile Send private message
kicior
Apprentice
Apprentice


Joined: 25 Mar 2005
Posts: 179
Location: Lublin, Poland

PostPosted: Mon Aug 07, 2006 7:34 pm    Post subject: Reply with quote

unrar x \*.rar
_________________
Pozdrawiam,
Kicior
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum