snapshot rsnapshot

This commit is contained in:
2024-11-25 09:07:54 +01:00
parent 494694f317
commit f005feb7fb
3 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#! /bin/bash
DIR=/host/scratch
echo $DIR
# If the source and destination directories exist then perform the merge
[ -d $DIR/$1/$2 ] && [ -d $DIR/$1/$3/ ] && \
/bin/cp -al $DIR/$1/$2/* $DIR/$1/$3/
exit 0