View previous topic :: View next topic |
Author |
Message |
braks n00b
Joined: 07 Aug 2006 Posts: 4 Location: Colorado
|
Posted: Mon Aug 07, 2006 7:00 pm Post subject: [SOLVED] extracting multiple rar files |
|
|
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 |
|
|
occ Apprentice
Joined: 06 May 2005 Posts: 202
|
Posted: Mon Aug 07, 2006 7:04 pm Post subject: |
|
|
>$ for file in `ls -d1 *.rar` ; do rar x $file ; done |
|
Back to top |
|
|
braks n00b
Joined: 07 Aug 2006 Posts: 4 Location: Colorado
|
Posted: Mon Aug 07, 2006 7:16 pm Post subject: |
|
|
Extracting as i type! sorry for my noobness Thanks though. |
|
Back to top |
|
|
kicior Apprentice
Joined: 25 Mar 2005 Posts: 179 Location: Lublin, Poland
|
Posted: Mon Aug 07, 2006 7:34 pm Post subject: |
|
|
unrar x \*.rar _________________ Pozdrawiam,
Kicior |
|
Back to top |
|
|
|