I am trying to cat all png files in a directory and pipe them to the ffmpeg command:
cat *.png | ffmpeg
it works but I now wanto to exclude from the list all png file beginning with the prefix 'legend_'. How do I achieve this? I know that using ls I can type:
ls -I legend_* -I *.jpg
I found info about grep, ls , etc but there are confusing information regarding the command cat and none seem to work like using
!(legend_)
! -name legend_