On 2013-09-17 20:26, Jason White wrote:
> Matthew Cengia <[email protected]> wrote:
> >   mattcen@isis:tmp$ shopt -s nullglob
> >   mattcen@isis:tmp$ ls *.mkv *.mp4 *.avi
> >   a.mkv  b.mp4
> 
> Excellent. Note that the find command also returns no errors if nothing
> matches the search criteria. There's an option to prevent it from recursively
> descending subdirectories, which my quick search of the manual page didn't
> locate but which I'm confident exists.

find . -maxdepth 1 -name '*.avi'

-- 
Regards,
Matthew Cengia

Attachment: signature.asc
Description: Digital signature

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to