diff --git a/src/.local/bin/msync b/src/.local/bin/msync index 523f59b..30d373e 100755 --- a/src/.local/bin/msync +++ b/src/.local/bin/msync @@ -15,11 +15,15 @@ MNT="$HOME/quar/mnt" ROOT="$MNT/Internal shared storage" imp () { - find "$1" -type f | xargs -I{} mv {} "$2" + find "$1" -type f | xargs -I{} mv "{}" "$2" +} + +impf () { + find "$1" -mindepth 1 -maxdepth 1 | xargs -I{} mv "{}"/ "$2" } exp () { - find "$1" -type f| xargs -I{} cp -n {} "$2" + find "$1" -type f | xargs -I{} cp -n "{}" "$2" } if [ $ACTION = PUSH ] @@ -45,4 +49,7 @@ then imp "$ROOT/Recordings/Sound records/" ~/quar imp "$ROOT/Documents/dr" ~/quar + + imp "$ROOT/Documents/contacts.vcf" ~/quar + impf "$ROOT/.SeedVaultAndroidBackup/" ~/quar/seedvault/ fi