#!/bin/bash

SDir=$1
DDir=$2

rsync -arvh --progress --ignore-existing --remove-source-files $SDir $DDir
find $SDir -depth -type d -empty -exec rmdir "{}" \;