jerebear
jerebear

Reputation: 6655

Using xargs with qmHandle to remove bounce messages

I have almost 100,000 spam messages in my bounce folder for qmail.

I've been trying to use this command:

find * | xargs -tl `qmHandle -d$1`

But with no success. I've tried multiple variations. I also don't have parallel on my machine.

I did try:

find * | xargs qmHandle -d

But it puts a space between the resulting command of:

qmHandle -d 133893

Upvotes: 1

Views: 1051

Answers (1)

jerebear
jerebear

Reputation: 6655

Found it!

find * | xargs -tl -I {} qmHandle -d{}

Upvotes: 1

Related Questions