find . -maxdepth 1 -type f
Didn't work.I think it is possible with the ls command.
ls -F | grep -v / | grep -v .jpg
I can see that an error is occurring, but I don't know the details of the script or settings.Could you know why this is happening?
Thanks slot. Works nowTry changing Arguments as follows.
-s 'ls -F | grep -v / | grep -v .jpg'