custom bash script debian

Job ID: 34847691

Budget: £25 – £60 GBP

Hi

I need a script made that gets a folder and makes sure the files within are sent to another server via ssh. It must be do the following.

The OS is debian 11 on both systems

1. Encrypts the file its about to send gpg public key does not encrypt the local files only the copys that are sent that are sent deleting any data created once done.
2. logs into the target server and uploads it
3. makes sure both folders stay within sync.
4. if more then 1 file does it one at a time.
5. use's ssh on port 22
Related categories: PHP Python Linux Shell Script Ubuntu