Saturday, 7 February 2015

[ubuntu] Unpacking with unrar: multiple rar-archives with multiple passwords topic






Hello everybody, I want to unpack a couple of rar archived documents that have multiple passwords. I usually do this in the terminal with the command:

find '/home/USER/Dokumente' -name '*.rar' -execdir unrar x -p'PASSWORD' -o- -kb -y {} '*txt' '*.pdf' \;

But in this case i only use one password.
So lets say I want to include the 2 passwords '123' and 'abc'

How does the syntax need to look like?
-p'123' -p'abc'
does not work

Thanks in advance






No comments:

Post a Comment