mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
enabled btrfs snapshot creation...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
69bc6ccc2b
commit
f312eee12f
@ -288,6 +288,8 @@ while true ; do
|
||||
|
||||
while true ; do
|
||||
echo "Copying files from ${BASE}${DRIVE} (~`du -hs "${BASE}${DRIVE}" | cut -f 1`)..."
|
||||
echo "# $COPY $COPYFLAGS ${BASE}${DRIVE}/* "$DIR""
|
||||
echo "# 2> >(tee "${DIR}"/copy-err.log)"
|
||||
$COPY $COPYFLAGS ${BASE}${DRIVE}/* "$DIR" \
|
||||
2> >(tee "${DIR}"/copy-err.log)
|
||||
# no errors -> remove log...
|
||||
@ -354,10 +356,10 @@ if [[ $DO_COMPRESS ]] ; then
|
||||
echo "Compressing archive: done."
|
||||
fi
|
||||
|
||||
##if ! [ -z "$SNAPSHOT" ] \
|
||||
## && [ -e "$SNAPSHOT" ] ; then
|
||||
## "$SNAPSHOT"
|
||||
##fi
|
||||
if ! [ -z "$SNAPSHOT" ] \
|
||||
&& [ -e "$SNAPSHOT" ] ; then
|
||||
eval "$SNAPSHOT"
|
||||
fi
|
||||
|
||||
# XXX add report...
|
||||
# XXX
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user