simple shell script to compare two dirs recursively

Ralf Mardorf ralf-mardorf at riseup.net
Mon Nov 2 19:32:24 UTC 2020


On Mon, 2 Nov 2020 19:11:41 +0100, Per olof Ljungmark wrote:
>I need a *simple* shell (does not matter which)

Just in case:

[rocketmouse at archlinux ~]$ pacman -Qo /usr/bin/diff
/usr/bin/diff is owned by diffutils 3.7-3
[rocketmouse at archlinux ~]$ pacman -Qi diffutils | grep -e URL -e Depends
URL             : https://www.gnu.org/software/diffutils
Depends On      : glibc  bash
[rocketmouse at archlinux ~]$ /usr/bin/diff --help | grep no-de
      --no-dereference            don't follow symbolic links

It might be completely irrelevant for your case or for FreeBSD's diff
at all.

However, following or not following symbolic links could be tricky.


More information about the freebsd-questions mailing list