On Wed, Apr 11, 2012 at 04:06:05PM -0500, address@hidden wrote:
> they are in a single directory
> and why not find . -type f ! -name '*.*' -exec mv '{}' '{}'.txt \;
That won't work with all versions of find. You cannot assume that
{}.txt will work. It works in GNU find, but not in HP-UX find, for
example.
imadev:~$ find .bashrc -exec echo {}x \;
{}x
arc3:~$ find .bashrc -exec echo {}x \;
.bashrcx