You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ack-...@googlegroups.com
This can be helpful while processing large number of files in a directory, sufficiently large to throw "Argument list too long" error. Suppose a large number of files need to be moved or deleted from such a directory having a specific pattern.
Would it be useful to have -exec option in ack where it will execute specified command of each file matched?
Andy Lester
unread,
Nov 24, 2009, 11:06:19 AM11/24/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ack-...@googlegroups.com
On Nov 24, 2009, at 1:58 AM, Raj A. Singh wrote:
> Would it be useful to have -exec option in ack where it will execute
> specified command of each file matched?
>
>
I've resisted going down that road. That's what xargs is for.