I am trying to create a bash script for syncing music from my desktop to a mobile device. The desktop is the source.
Is there a way to make rsync recursively sync files
May be this is a recent option, but I see the option --no-relative mentioned in the documentation for --files-from and it worked great.
--no-relative
--files-from
find SourceDir -name \*.mp3 | rsync -av --files-from - --no-relative . DestinationDir/