]>
Git — Sourcephile - julm/podcasts.git/blob - send-offline.sh
6 for d
in $(zfs list -rH -o name "$@")
8 mountpoint
"/mnt/$d" ||
12 zpool status
"$pool" ||
13 sudo zpool import
"$pool"
14 zfs_mount
"$pool"/julm
/public
15 # Backup config and cache
17 --inplace --partial --progress -i \
18 --exclude "*" --include ".*" \
19 old
/{audio
,video
,music
} /mnt
/"$pool"/julm
/public
21 rsync
-rv --no-inc-recursive --info=progress2 \
22 --inplace --partial --progress -i \
23 --exclude ".*" --remove-source-files \
24 old
/{audio
,video
,music
} /mnt
/"$pool"/julm
/public