#!/bin/bash backup="/root/backupsvg" mkdir $backup while read line do scp $line $backup done < liste_a_copier tar -zcvf /root/svg.tar.gz $backup