<div dir="ltr"><div dir="ltr">On Tue, Sep 29, 2020 at 4:46 PM Rob Campbell wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks for your help.  What you provided didn't work for me because that still placed things in subdirectories.</div></div></blockquote><div><br></div><div>Ah, that's what you were trying to do. Your original email sounded like you just didn't want it to recurse into subdirectories.</div><div><br></div><div>An easier solution than what you ended up with is to specify a trailing slash after the dir names since that tells rsync you want to copy the content of a directory rather than the directory by name:</div><div></div><div><br></div><div><div class="gmail_quote">rsync -riv --progress --include '*.jp*g' --include '*.png' --include '*.dng' --include '*.raw' --include '*.nef'  --exclude '*' /my/phone/root/dir/{Duo,DCIM,WhatsApp}/ /my/backup/directory/for/images/</div></div><div class="gmail_quote"><br clear="all"><div><div dir="ltr" class="gmail_signature">..wayne..</div></div></div></div></div>