[mythtv-users] 0byte check suggestion

Eric Sharkey eric at lisaneric.org
Mon Jan 11 04:04:13 UTC 2010


On Sun, Jan 10, 2010 at 8:30 PM, Greg Oliver <oliver.greg at gmail.com> wrote:
>> On Mon, Dec 21, 2009 at 9:49 AM, Eric Sharkey <eric at lisaneric.org> wrote:
>>> On Mon, Dec 21, 2009 at 8:22 AM, Dave Richardson <mythtv at derdev.com>
>>> wrote:
>>> > and you would find and delete this way
>>> >
>>> > find . -size 0 -exec rm -f {} \;
>>>
>>> That works, but:
>>>
>>> find . -size 0 -delete
>>>
>>> is a little easier.
>
> I always find the new GNU shortcuts when the "younger" engineers point
> them out to me at work after watching me type the old long strings in
> :)
>
> But yes - when I throw them on a old SunOS, or AIX box, they are
> reading man pages :)

Well, I've been working on Unix systems for about 18 years now.  I've
been on Solaris, AIX, HPUX, Digital Unix, IRIX, and probably a few
others I'm forgetting.  Pretty much every one of them has had
/usr/local/bin well populated with GNU utilities.  They're just too
useful to ignore.  Even if they don't ship with other OS's, they're
pretty much ubiquitous enough that I don't consider these extensions
to be non-portable.

Eric


More information about the mythtv-users mailing list