I'm not quite sure about the easiest way of mounting remote file systems via shell.
you could use the open command "open smb://remote.host/remoteshare"
mounts under /Volume/remoteshare
or you could use the mount_smbfs command "mkdir /tmp/remote ; mount_smbfs //user

(E-Mail Removed)/remote/share /tmp/remote"
mounts under /tmp/remote
Once the device is mounted you can use the following rsync command;
rsync -a /local/path /Volumes/remoteshare
if you have used mount_smbfs you can use umount to unmount the filesystem "umount /tmp/remoteshare"
if you used open, then you need to use disktool to unmount. "disktool -e /Volumes/remoteshare"
hope this helps (some 4 years later!)