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!

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top