<div dir="ltr">I would like to sync many subdirectories into one directory with no subdirectories. I've tried<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small"><div>rsync -rv --progress --include '*.jp*g' --include '*.png' --include '*.dng' --include '*.raw' --include '*.nef' --include 'Duo' --include 'DCIM' --include 'WhatsApp' --exclude '*' /my/phone/root/dir/ /my/backup/directory/for/images/</div><div><br></div><div>I'd like to do this w/o separate rsync commands such as</div><div><div>rsync -rv --progress --include '*.jp*g' --include '*.png' --include '*.dng' --include '*.raw' --include '*.nef' --exclude '*' /my/phone/root/dir/DCIM /my/backup/directory/for/images/<br></div><div><div><br></div><div>rsync -rv --progress --include '*.jp*g' --include '*.png' --include '*.dng' --include '*.raw' --include '*.nef' --exclude '*' /my/phone/root/dir/Duo /my/backup/directory/for/images/<br></div><div><div><br></div><div>rsync -rv --progress --include '*.jp*g' --include '*.png' --include '*.dng' --include '*.raw' --include '*.nef' --exclude '*' /my/phone/root/dir/WhatsApp /my/backup/directory/for/images/<br></div><div>  -- This has subdirectories</div><div><br></div><div></div></div><div></div></div><div><div>rsync -rv --progress --include '*.jp*g' --include '*.png' --include '*.dng' --include '*.raw' --include '*.nef' --exclude '*' /my/phone/root/dir/NewDir /my/backup/directory/for/images/<br></div><div><br></div><div></div></div><div></div>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><div>When you are principled, set standards and stick to them some people will </div><div>fall out of your life; let them!</div></span></span></div></div></div></div></div>