User Tools

Site Tools


rsycn_based_on_list.txt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rsycn_based_on_list.txt [2009/05/09 04:29] (current)
k2patel created
Line 1: Line 1:
 +====== Rsycn based on list.txt ======
 +
 +#### create file with name "​list.txt"​ and add folder per line
 +<code bash | 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
 +</​code>​
  
rsycn_based_on_list.txt.txt ยท Last modified: 2009/05/09 04:29 by k2patel