Sujet : Re: Piping commands to a shell but keeping interactivity
De : candycanearter07 (at) *nospam* candycanearter07.nomail.afraid (candycanearter07)
Groupes : comp.os.linux.miscDate : 08. Mar 2024, 16:30:04
Autres entêtes
Organisation : the-candyden-of-code
Message-ID : <usfatr$1p25q$2@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : slrn/pre1.0.4-9 (Linux)
Fritz Wuehler <
fritz@spamexpire-202403.rodent.frell.theremailer.net> wrote at 04:56 this Friday (GMT):
James Harris <james.harri...@gmail.com> [JH]:
JH> What this is for is code to list files in a folder
JH> which are duplicates of those in another folder
JH> $ ./lsdup.py -r c d
>
No need to reinvent the wheel:
>
$ fdupes --recurse c d
>
fdupes(1) will find duplicate files even with different filenames.
>
Adding the "--delete" option will prompt user for files to preserve,
deleting all others.
I never knew about this program, thanks!
-- user <candycane> is generated from /dev/urandom