Deleted some superfluous files
This commit is contained in:
parent
0703888ada
commit
62e490d5ba
6 changed files with 9 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 271 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 92 KiB |
11
readme.md
11
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.
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
|
||||

|
||||
|
||||
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.
|
||||
|
|
|
|||
Reference in a new issue