I have a directory of lots of
There should be a
.JPG file for each
I'm trying to use a command to find
My current command is:
find -iname '*.jpg' -print0|sed 's/jpg$/pdf$/ig' |xargs -0 ls
: No such file or directory error for non-existing files;
the problem is the errors of
ls cannot be handled by
Any of these solves my problem:
- How can I make
lsonly list files that doesn't exists?
- How to handle/filter errors of
- any other way for file existence check (without creating bash script files)?