Question

I'm trying to write a simple bash alias/function (whichever I get working the quickest), that unrars multi-rar archives. None of my attempts work though.

The plain command invoked in the shell doesn't work either, which I guess is probably the gist of the problem:

find . \( -name *.rar -and -not -name *.part*.rar \) -or -name *.part01.rar -exec unrar x {} \;

The find part of the command seems to do its work fine, although the -exec doesn't seem to be invoked at all.

Thanks!

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top