Date: Fri, 5 May 2023 09:49:08 +0200 From: "Dr. Nikolaus Klepp" <dr.klepp@gmx.at> To: questions@freebsd.org Subject: Re: Tool to compare directories and delete duplicate files from one directory Message-ID: <202305050949.08353.dr.klepp@gmx.at> In-Reply-To: <80cafa55-9609-a9ef-d739-bda1affe38df@optiplex-networks.com> References: <9887a438-95e7-87cc-a162-4ad7a70d744f@optiplex-networks.com> <a8518234-b777-710d-7a26-4e96fbbb404e@wp.pl> <80cafa55-9609-a9ef-d739-bda1affe38df@optiplex-networks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Anno domini 2023 Thu, 4 May 22:56:04 +0100 Kaya Saman scripsit: > [...]=20 > But*, what happens when you have thousands of files? Why don't you simply use "rdfind"?=20 Nik >=20 >=20 > The man page at the top suggests compare file1 and file2, not dir1 and=20 > dir2 which is what I am looking for: >=20 >=20 > NAME > =C2=A0=C2=A0=C2=A0=C2=A0 cmp =E2=80=93 compare two files >=20 > SYNOPSIS > =C2=A0=C2=A0=C2=A0=C2=A0 cmp [-l | -s | -x] [-bhz] [--ignore-initial=3Dn= um1[:num2]] [--bytes=3Dnum] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 file1 file2 [skip1 [ski= p2]] >=20 >=20 > =C2=A0If it did that I would definitely say it's what I'm looking for. >=20 >=20 > I need to compare the files within: >=20 >=20 > /dir >=20 > /dir_1 >=20 > /dir_2 >=20 > /dir_3 >=20 >=20 > where /dir_(x) are directories that have been merged into /dir.... >=20 >=20 >=20 >=20 =2D-=20 Please do not email me anything that you are not comfortable also sharing w= ith the NSA, CIA ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305050949.08353.dr.klepp>