I would like to be able to transfer files from a camera memory card to my local storage, and once copied, verify that the files match between source and destination and then delete the files on the source.
Currently I am running:
rsync --update -va --progress --no-r --info=progress2 source/** destination
I am flattening the destination so only files get copied and not source directories.
What would I need to add to this command to then cleanup all files and directories from the source as long as the transfer is verified?