siotp/sisr1/sciptsauvegarde.sh
Tom Guerin 816c3b2825 btsb
2025-04-02 16:04:44 +02:00

17 lines
164 B
Bash

#!/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