This question follows this one, in regards to encrypting files individually in order to upload them to a cloud service.
--- Scenario:
I have my folder full of unencrypted files
Via script I make a shadow copy of all of them
Via script I encrypt them one by one with recursive GPG encrypt commands using
my own public keythe--symmetric
option and a dedicated passphraseVia syncing app I upload them
Via script I delete the shadow copy (not sure about this one: but how could I later compare unencrypted and encrypted files in order to figure out which ones need replacement?)
By the time I re-run the procedure, some of my original files have now changed. Ideally, only these ones will need to be uploaded. I repeat points 2. and 3. so comparison with the encrypted files on the cloud (via sync app) can happen.
--- Question Major Problem:
Considering that two copies of the same files encrypted with GPG will never look the same (see answers to this question), how can I achieve comparison between the encrypted files?
Or should my procedure be completely different?