Like this:
xterm -e tar -C "`dirname $@`" -vxjf "$@"
<code>
<blockcode>
More information about formatting options
You can use tar -C
Like this:
xterm -e tar -C "`dirname $@`" -vxjf "$@"