for fs mv command (e.g., move foo to dir bar/), the CLI will fail when the destination is a directory even there is no foo under bar/