public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: cal <cal@mail.meme.technology>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Don't be like stupid me!
Date: Sun, 11 Feb 2024 10:13:35 -0800	[thread overview]
Message-ID: <c1a28e35-a069-4a95-995b-c469d5e9d2e0@mail.meme.technology> (raw)
In-Reply-To: <Zcecqb700nrXVUyM@ACM>

On 2/10/24 07:56, Alan Mackenzie wrote:
> Hello, gentoo.
> 
> I was wanting to do a pretty full build of my Emacs working repository.
> This involved first purging al *.elc files.  The way to do this is
> 
>     $ find . -name '*.elc' | xargs rm
> 
> 
Just as an aside: find supports the `-delete` action already, preferable
to piping to `xargs rm` since it avoids accidents involving unusual
filenames.

Bonus: you can run `find something -print` first to verify what will be
deleted, then swap out `-print` for `-delete`.


      parent reply	other threads:[~2024-02-11 18:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-10 15:56 [gentoo-user] Don't be like stupid me! Alan Mackenzie
2024-02-10 16:06 ` Stefan Schmiedl
2024-02-11  2:14 ` William Kenworthy
2024-02-11 10:48   ` Alan Mackenzie
2024-02-12  8:34   ` Björn Fischer
2024-02-11 18:13 ` cal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c1a28e35-a069-4a95-995b-c469d5e9d2e0@mail.meme.technology \
    --to=cal@mail.meme.technology \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox