It does work the same way on Linux.
However
Is fixed by repeating the directory name in the destination