To backup and synchronize directories with redondancy on multiple support type (nas,computers,usb,cloud) by the most automated way. Push or pull with rsync.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash |
|
|
|
for directory in "P1" "P2" "P3" "P4" "P5" "P6" |
|
do |
|
rsync -avzp --delete-during /datas/${directory}/ ./${directory}/ |
|
done
|
|
|