Page 1 of 1

extract many zip/rar files at once?

Posted: Mon 11 Dec 2017, 00:16
by lolo69
I have about 4000 zip and rar files that I must extract, but the Uextract app only do it one per one.

Some app or plugin, shell command, script that could help me?

Puppy Tahrpup 6.0.5

Posted: Mon 11 Dec 2017, 00:51
by ally

Posted: Mon 11 Dec 2017, 08:59
by amigo
Open a terminal window in the dir where the files are and:
unzip *.zip
unrar *.rar

Posted: Mon 11 Dec 2017, 12:33
by lolo69
Many thanks Ally and amigo.

P.S: Recently I downloaded a 3gb rar file, it took me all night so i went to sleep. When i came this morning it said "compressing the rar file 3h remaining" and the process viewer says "rar V -c- /root/filename.rar"
What does it mean? if i try to open it it's only loading.

Posted: Mon 11 Dec 2017, 16:32
by Sailor Enceladus
@lolo69: You might not have enough RAM to open the rar in Xarchive or in a GUI that shows you what is in the file. Rather than opening it, you might just want to extract it to a drive (ie. /mnt/home, /mnt/sda1) using the command line and the unrar command mentioned by amigo. I had to do with the firefox source code because it was too large to "open" into whatever RAM I had available.