[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please help
From: |
Harlan Stenn |
Subject: |
Re: Please help |
Date: |
Fri, 26 Oct 2007 21:06:57 +0000 |
Andreas wrote:
> Harlan Stenn <address@hidden> writes:
> >> Bob Proulx wrote:
> >> find . -type f -exec touch --reference . {} +
> >
> > I thought xargs was *significantly* faster than exec.
>
> Note the trailing '+'. This makes it essentially equivalent to the
> above use with xargs, and even faster than that.
Cool - I missed that. How far back is that available? I still get to
deal with some fairly ancient installations...
> > And I haven't looked to see if '-exec ... {}' is "safe" for filename
> > characters the same way -print0 ... is.
>
> There is no shell involved in -exec, so it is safe for every filename.
great - thanks!
H
- Please help, Murtaza, 2007/10/24
- Re: Please help, Warren Young, 2007/10/24
- Re: Please help, Eric Blake, 2007/10/24
- Re: Please help, Bob Proulx, 2007/10/25
- Re: Please help, Bob Proulx, 2007/10/25
- Re: Please help, Murtaza, 2007/10/25
- Re: Please help, Harlan Stenn, 2007/10/26
- Re: Please help, Andreas Schwab, 2007/10/26
- Re: Please help,
Harlan Stenn <=
- Re: Please help, Paul Eggert, 2007/10/26