<div dir="auto">Except some of those dir have subdir such as WhatsApp and DCIM has multiple subdirs too. I would rather do it all with rsync though. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 30, 2020, 12:54 PM Wayne Davison <<a href="mailto:wayne@opencoder.net">wayne@opencoder.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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">..wayne..</div></div></div></div></div>
</blockquote></div>