User Tools

Site Tools


rsycn_based_on_list.txt

Rsycn based on list.txt

#### create file with name “list.txt” and add folder per line

| 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
rsycn_based_on_list.txt.txt · Last modified: 2020/08/10 02:35 (external edit)