After more testing, I found that that command only syncs files that are in
that top dir. It doesn't recurse through all the dirs.
~
When you are principled, set standards and stick to them some people will
fall out of your life; let them!
My deepest apologies. I had an inotify running that anytime something was
added to that directory it would run a script that was doing my original
sync of pulling in all the directories and images. After turning that off,
I was able to see your line work as you said it should. Thank you very
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.
On Wed, Sep 30, 2020, 12:54 PM Wayne Davison wrote:
> On Tue, Sep 29, 2020 at 4:46 PM Rob Campbell wrote:
>
>> Thanks for your help. What you provided didn't
On Tue, Sep 29, 2020 at 4:46 PM Rob Campbell wrote:
> Thanks for your help. What you provided didn't work for me because that
> still placed things in subdirectories.
>
Ah, that's what you were trying to do. Your original email sounded like you
just didn't want it to recurse into
Interesting idea. It isn't something I have ever wanted to do. BTW, if
your find is recent use + instead of \;. + replaces {} with however
many entries fit in the command line length limit instead of running
individual rsync processes for each entry.
On 9/29/20 7:46 PM, Rob Campbell via rsync
Thanks for your help. What you provided didn't work for me because that
still placed things in subdirectories.
I figured it out. This puts it all in the images directory.
find /my/phone/root/dir/ \( -path '*Duo*' -o -path '*DCIM*' -o -path
'*Pictures*' -o -path '*Camera*' -o -path "*Download*"
On Tue, Sep 29, 2020 at 7:38 AM Rob Campbell wrote:
> I would like to sync many subdirectories into one directory with no
> subdirectories. I've tried
>
> rsync -rv --progress --include '*.jp*g' --include '*.png' --include
> '*.dng' --include '*.raw' --include '*.nef' --include 'Duo' --include
>
I would like to sync many subdirectories into one directory with no
subdirectories. I've tried
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/