Unzip or Unrar Many Files at Once in Linux

Posted by Jiltin     Tags: , , , 8 November, 2008    720 views    (1) Comment

If you’ve got a directory with dozens of zipped or rar’d files, you can run a single command to unzip them all in one step, thanks to the power of the bash shell. For this task, we’ll use bash’s for loop command structure. Replace with a variable name, and with either a command that outputs a list or an explicit list. for in do command $; done You can run it on a single line with this syntax instead: for in ;do command $;done So if you want to unrar a list of files, you could use Read Full Article (Click here)...

Categories : Scripts Unix, Web & Scripts Tags : , , ,