extract rar files to folder

I tried googling around and checked the man page but couldn't find what I was looking for.

Basically need to extract a rar archive to a separate volume. I know:

rar e archive.rar 

will extract it to the current folder but I want to extract it to somewhere else. Can this be achieved without having to first move the archive to that location?


Solution 1:

rar x archive.rar path/to/extract/to 

Worked.

Solution 2:

unrar x /define/path/to/extract/