Compare commits

..

No commits in common. "bd0396af1da21a21cb854a82d0350f739d477a9e" and "b267c83fd9b9cacee3d555c660027a07694caf42" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -2,4 +2,4 @@
Painlessly sync your music (or other files) to an Android device.
Just plug in your phone, give file transfer permission and run the script. Requires rsync, libmtp and GIO.
Just plug in your phone, give file transfer permission and run the script. Requires libmtp and GIO.

View File

@ -21,7 +21,6 @@ get_mtp_dir() {
[ -d "$mtpdir" ] && echo "$mtpdir"
}
[ -z "$1" ] && info "Any arguments are passed to rsync."
info "Configuration: 💻:'$SOURCE_DIR' -> 📱:'$DEST_DIR'."
[ ! -d "$SOURCE_DIR" ] && die "The specified source directory '$SOURCE_DIR' does not exist!"
@ -44,7 +43,6 @@ rsync --progress \
--recursive \
--inplace \
--exclude='*.parts' \
"$@" \
"$SOURCE_DIR" "$(get_mtp_dir)/$DEST_DIR" \
&& info "Success!" \
|| die "Error synchronizing files!"