]>
Git — Sourcephile - julm/podcasts.git/blob - send-key.sh
2 # shellcheck disable=SC2064
7 dev
=${1:-/dev/disk/by-uuid/1AEC-F13E}
9 if mountpoint
"$dev"; then
13 sudo umount
"$dev" || true
14 trap "sudo umount $mnt && rmdir $mnt && sync" EXIT
15 sudo mount
-v -o uid
="$USER",fmask
=0022,dmask
=0022,codepage
=437,iocharset
=iso8859
-1,shortname
=mixed
,showexec
,utf8
,flush
"$dev" "$mnt"
20 rsync
-rv --remove-source-files \
22 --exclude "*.part-Frag*" \
25 --no-inc-recursive --info=progress2 \
26 --size-only --inplace --partial --progress -i \