]>
Git — Sourcephile - julm/podcasts.git/blob - send-redmi.sh
5 mtp
=${mtp:-mtp://Xiaomi_SDM439-QRD__SN%3AB0796589_c7565cf60006/}
6 trap 'gio mount -u "$mtp"' EXIT
7 gio info
"$mtp" >/dev
/null
||
12 rsync
-rv --remove-source-files \
17 --exclude "LaSérieDocumentaire" \
18 --exclude "TousAuLarzac" \
19 --exclude "HomeScience" \
20 --exclude "FunScience" \
21 --exclude "CestCash" \
22 --exclude "thinkerview" \
23 --include "/audio/SmashingSecurity/2021-*" \
24 --exclude "/audio/SmashingSecurity/*" \
25 --include "/audio/NakedSecurity/2021-*" \
26 --exclude "/audio/NakedSecurity/*" \
27 --include "/audio/FOSSAndCrafts/2021-*" \
28 --exclude "/audio/FOSSAndCrafts/*" \
29 --exclude "/video/fun/fremo/*" \
30 --exclude "/video/science/Cortecs/*" \
31 --exclude "/video/science/HoustonMath/*" \
32 --exclude "/video/politique/QG/*" \
33 --include "/video/science/PrimumNonNocere/2021-*" \
34 --exclude "/video/science/PrimumNonNocere/2020-*" \
35 --include "/video/science/Asclépios/2021-*" \
36 --exclude "/video/science/Asclépios/2020-*" \
37 --include "/video/science/LeSenseOfWonder/2022-*" \
38 --exclude "/video/science/LeSenseOfWonder/*" \
39 --exclude "/video/science/LeVortex/*" \
42 --exclude "hors-serie" \
43 --no-inc-recursive --info=progress2 \
44 --size-only --inplace --partial --progress -i \
45 new
/{audio
,video
,documents
,films
} \
46 /run
/user
/"$(id -u)"/gvfs
/'mtp:host='Xiaomi_SDM439
-QRD__SN%3AB
0796589_c
7565cf
60006/"Carte SD SanDisk/Android/data/com.termux/files/"
47 #/run/media/julm/6365-3561/Android/data/com.termux/files/