[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to rename multiple files



05.01.2003 02:00:03, "Gerald V. Livingston II" <debuser@sysmatrix.net> wrote:

>I want "TRUE" if there is one or more zzz.jpg files in a directory,
>"FALSE" if there are zero of them.

One solution might be:
ls | grep -q '\.jpg$'

Cheers, Michael




Reply to: