Date: Mon, 2 Nov 2020 21:16:38 +0000 From: Steve O'Hara-Smith <steve@sohara.org> To: Ralf Mardorf <ralf-mardorf@riseup.net> Cc: freebsd-questions@freebsd.org Subject: Re: simple shell script to compare two dirs recursively Message-ID: <20201102211638.c756c71b721105cdeb3bd048@sohara.org> In-Reply-To: <20201102200737.27745317@archlinux> References: <34dfc85a-b985-e31f-a6b2-cf14f1f56fd2@nethead.se> <6d734580-55b0-eb70-677c-4270f29a00a9@kicp.uchicago.edu> <20201102200737.27745317@archlinux>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Nov 2020 20:07:37 +0100 Ralf Mardorf <ralf-mardorf@riseup.net> wrote: > doesn't find a match. I don't know how soft links are handled by > FreeBSD's diff, but the diff I'm used to tends to fail, without the > --no-dereference option, if soft links are involved. If so, it quasi > suffers from false positives. I'm not sure what behaviour you expect but with FreeBSD diff if you have a directory full of files and a directory full of symlinks to the same files (with the same names) then diff will find them to be identical, it simply reads contents and does not notice the symlink. -- Steve O'Hara-Smith <steve@sohara.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201102211638.c756c71b721105cdeb3bd048>
