Deutsch English Français Italiano |
<usfatr$1p25q$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> Newsgroups: comp.os.linux.misc Subject: Re: Piping commands to a shell but keeping interactivity Date: Fri, 8 Mar 2024 15:30:04 -0000 (UTC) Organization: the-candyden-of-code Lines: 18 Message-ID: <usfatr$1p25q$2@dont-email.me> References: <urhjc6enkl@dont-email.me> <l44pliF6eejU2@mid.individual.net> <urjj7j038r@dont-email.me> <wwvzfvmi9bp.fsf@LkoBDZeT.terraraq.uk> <l47faiFkqi7U1@mid.individual.net> <uscpnt4tr1@dont-email.me> <d592d8afc5fe21c2cc8b9174c69fd0ce@msgid.frell.theremailer.net> Injection-Date: Fri, 8 Mar 2024 15:30:04 -0000 (UTC) Injection-Info: dont-email.me; posting-host="ec498b13dc77f8bb37bca0f724f9f673"; logging-data="1870010"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qwTxk/lRGvmfmq/Rpm526gK4A6d4ks5GM+C0YcXi5IA==" User-Agent: slrn/pre1.0.4-9 (Linux) Cancel-Lock: sha1:2Zyv0EhupuxEWMAQWe6On1tIPsQ= Bytes: 1736 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