I run the following command when I want to just update one directory to another. It only copies files that have changed. If any files have been deleted from A they still exists in directory B. The trailing slash after A/ is necessary to tell rsync to move the contents. Otherwise A will create a folder in B called /media/B/A and move the files over.
rsync -ruptv /media/A/ /media/B
I run the following command when I want to mirror one directory to another. Any files...