> On 2023-08-04 06:13, Perry Hutchison wrote:
Perry Hutchison via rsync <rsync@lists.samba.org> wrote:

On second thought, that grep will match any directory name having 3
*or more* levels.  This:

   rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/ | egrep 
'^/[^/]*/[^/]*/[^/]*/$'

should match only those with exactly 3 levels.

I think that should work!

thank you

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to