I'm using rsync to essential fetch files off a server, then delete the files from the server once I have them locally. The full command I'm running is below.
This does successfully delete the files on the source server, however empty directories still remain. I don't get any messages or errors. All output is normal. Perhaps this is the intended functionality.
How can I tell rsync to clean everything, including the directories?
rsync --progress -vrzh --remove-source-files
Version is 3.0.9 on both ends.