PrettyPrint

mercredi 16 septembre 2015

Parallelize Rsync


1- Sync the directory tree
rsync -a -f"+ */" -f"- *" source/ destination/
2- Parallise rsync (Multiple thread)
cd $SOURCEDIR; find . -type f | xargs -n1 -P$THREADS -I% rsync -az % /$DESTDIR/%


Aucun commentaire :

Enregistrer un commentaire