unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* How to pass something on to xargs rm?
@ 2016-12-27 11:33 ng0
  2016-12-27 12:07 ` John Darrington
  0 siblings, 1 reply; 5+ messages in thread
From: ng0 @ 2016-12-27 11:33 UTC (permalink / raw)
  To: guile-user

Hi,

I have some scripts and small applications I'm slowly moving over
to guile.
One of them features this[0] line at the end which passes results on
to xargs rm. I picked a start with just (system*) everything I
had before to learn about the behavior and outcome, and improve
from this point.
I know that "|" will not work, so what else could possibly work
(for starters, in the long run I'll generalize and extend what I
currently have) to execute this command which deletes every file
listed in the previous search?

[0]: notmuch search --output=files tag:deleted | xargs -L 1 rm

Thanks,
-- 
♥Ⓐ  ng0
PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-29  9:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-27 11:33 How to pass something on to xargs rm? ng0
2016-12-27 12:07 ` John Darrington
2016-12-27 12:42   ` ng0
2016-12-27 13:04     ` Eli Zaretskii
2017-05-29  9:36     ` Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).