Mirror a folder to a second (PGP encrypted) folder
by Enry211 from LinuxQuestions.org on (#519PV)
Hello,
I would like to backup my Documents folder in the cloud, but encrypting it.
Is there any way to mirror 2 folders
/home/user/Documents -> not encrypted
/home/user/Nextcloud/Documents -> encrypted
I will work on the non-encrypted Documents folder and the system would have to encrypt the files and mirror them to the Nextcloud folder.
Obviusly the encryption must be done on my local folder and then the encrypted file has to be moved to the Nextcloud folder.
Thanks!


I would like to backup my Documents folder in the cloud, but encrypting it.
Is there any way to mirror 2 folders
/home/user/Documents -> not encrypted
/home/user/Nextcloud/Documents -> encrypted
I will work on the non-encrypted Documents folder and the system would have to encrypt the files and mirror them to the Nextcloud folder.
Obviusly the encryption must be done on my local folder and then the encrypted file has to be moved to the Nextcloud folder.
Thanks!