diff --git a/mobisync.sh b/mobisync.sh index 0433ff3..bbe64b7 100755 --- a/mobisync.sh +++ b/mobisync.sh @@ -49,7 +49,7 @@ printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' - >> $LOG # Prints line } # Writes the header for the log file: Program, Version number, Date and Line. -{ echo "mobisync 11.2"; echo "Log: " `date`; line; } > $LOG +{ echo "mobisync 11.2.1"; echo "Log: " `date`; line; } > $LOG # Syncing images and video on device to the Downloads folder and sync the wallpaper on computer. { adb shell find "/sdcard/DCIM/Camera/" -iname "*.mp4" | tr -d '\015' | while read line; do adb pull "$line" $DOWNLOADS; done; adb shell find "/sdcard/DCIM/Camera/" -iname "*.jpg" | tr -d '\015' | while read line; do adb pull "$line" $DOWNLOADS; done; adb shell find "/sdcard/DCIM/" -iname "*.jpg" | tr -d '\015' | while read line; do adb pull "$line" $DOWNLOADS; done; adb shell find "/sdcard/Pictures/" -iname "*.jpg" | tr -d '\015' | while read line; do adb pull "$line" $DOWNLOADS; done; } >> $LOG diff --git a/octopus-logo-2500x2500.afdesign b/octopus-logo-2500x2500.afdesign deleted file mode 100644 index 9dd1ffd..0000000 Binary files a/octopus-logo-2500x2500.afdesign and /dev/null differ diff --git a/octopus-logo-512x512.png b/octopus-logo-512x512.png deleted file mode 100644 index 3c9340c..0000000 Binary files a/octopus-logo-512x512.png and /dev/null differ diff --git a/octopus-logo-purple-2500x2500.afphoto b/octopus-logo-purple-2500x2500.afphoto deleted file mode 100644 index 029f239..0000000 Binary files a/octopus-logo-purple-2500x2500.afphoto and /dev/null differ diff --git a/octopus-logo-purple-2500x2500.png b/octopus-logo-purple-2500x2500.png deleted file mode 100644 index 7d9276f..0000000 Binary files a/octopus-logo-purple-2500x2500.png and /dev/null differ diff --git a/readme.md b/readme.md index 0e4cb21..4775b4f 100644 --- a/readme.md +++ b/readme.md @@ -1,14 +1,19 @@ # mobisync -This script syncs an Android with a Mac using adb and adb-sync. You will need to edit the script to meet your own needs. +[![License: MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://opensource.org/licenses/MIT) + +![mobisync-logo](https://gugulet.hu/site/wp-content/uploads/mobisync-logo-1200x600-1.png) + +This script syncs an Android with a Mac using adb and adb-sync. You will need to edit the script to meet your own needs. You will need to enable 'USB Debugging' mode in Developer options on your Android in order for this to work. ## Dependencies **adb** -*brew install android-platform-tools* +_brew install android-platform-tools_ **adb-sync** -*git clone https://github.com/google/adb-sync.git* +_git clone https://github.com/google/adb-sync.git_ ## Note + Some knowledge of adb and the Android file system is required. Runs on macOS.