
18 Sep
2013
18 Sep
'13
12:23 a.m.
On Tue, Sep 17, 2013 at 08:35:16PM +1000, Lev Lafayette wrote:
On Tue, September 17, 2013 8:06 pm, Russell Coker wrote:
ls -l *.mkv *.avi *.mp4 ...
You could always redirect the error message to /dev/null e.g.,
lev@racoon:~/Desktop$ ls *.mkv *.avi *.mp4 *.xxx 2> /dev/null 1.mkv 2.mkv 3.avi 4.avi 5.mp4 6.mp4
Not if you're using globs directly though: > for n in *.mkv; do echo $n; done *.mkv Karl