Skip to content

Rsycn based on list.txt

create file with name "list.txt" and add folder per line

File: rsync_bk.sh

#!/bin/bash
for i in $(cat list.txt); do

rsync --verbose  --progress --stats --compress --recursive --times --perms --links xx.yy.zz.dd::home/$i data/$i

done