presse_syncro.sh
The snippet can be accessed without any authentication.
Authored by
Dirk Sarpe
Edited
presse_syncro.sh 381 B
#!/bin/bash
ulsource='hier_den_eigenen_pfad_eintragen'
uldestination='hier_den_anderen_eigenen_pfad_eintragen'
idivsource='/var/www/html/prins/files/pm_export_uni'
idivdestination='/var/www/html/prins/files/pm_import_uni'
rsync --remove-source-files unitransfer@172.18.116.73:${idivsource}/*.zip $uldestination/
rsync ${ulsource}/*.zip unitransfer@172.18.116.73:$idivdestination/
Please register or sign in to comment