.
This commit is contained in:
parent
210ac5fb47
commit
e7b05de983
9 changed files with 3 additions and 805 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/zsh
|
||||
# This script syncs an Android with a Mac using adb and adb-sync.
|
||||
# Version 12.1 (09 June 2021)
|
||||
# Version 12.1.2 (09 June 2021)
|
||||
# Added excluding .DS_Store. Unfortunately can only exclude one file
|
||||
|
||||
# Export paths for use if the script is turned into an app using Platypus.
|
||||
|
|
@ -62,6 +62,8 @@ line
|
|||
{
|
||||
adb-sync --reverse --times "/sdcard/Documents/Checkin/" ~/Documents/Checkin/;
|
||||
adb-sync --reverse --times --delete "/sdcard/Documents/Logistics/" ~/Documents/Logistics/;
|
||||
adb-sync --reverse --times --delete "/sdcard/Documents/Exercise/" ~/Documents/Exercise/;
|
||||
adb-sync --reverse --times --delete "/sdcard/Documents/Finances/" ~/Documents/Finances/;
|
||||
adb-sync --exclude .DS_Store --delete ~/Documents/Papers.sparsebundle/ "/sdcard/Documents/Papers.sparsebundle/";
|
||||
adb-sync --reverse "/sdcard/Download/" $DOWNLOADS;
|
||||
} >> $LOG
|
||||
|
|
|
|||
Reference in a new issue