[Help-bash] The best way to test whether a directory has *.txt files?
From:
Peng Yu
Subject:
[Help-bash] The best way to test whether a directory has *.txt files?
Date:
Wed, 27 Jun 2012 22:27:01 -0500
Hi,
There can be more than one way to test whether a directory contains
*.txt files (to be used with 'find -exec'). But I'm wondering what is
the best way (in terms of convenience to type) to do it. Does anybody
have any tricks on this?
--
Regards,
Peng