I'm wondering why you needed to escape the $ though, since it was single-quoted.
In reply to Re^3: copying multiple files from a share by gaal in thread copying multiple files from a share by cmeena