how to uncompress .rar file
Chris F.A. Johnson
cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org
Fri Feb 17 21:59:54 UTC 2006
On Fri, 17 Feb 2006, hui xu wrote:
> Anybody has experience on uncompress .rar files on linux. I have
> downloaded something which contains lots of .rar files in one
> directory? should I have to uncompress them one by one. is there any
> command to unrar all of them with one command?
Any command can be performed on many files with a simple loop:
for file in *.rar ## $file is assigned to each .rar file in turn
do
unrar e "$file" ## adjust this command as necessary
done
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list