I want to test if a directory. If so, i will skip some processing.
I tried the following:
if [ ./* == "./*" ]; then
echo "No new file"
exit 1
fi
but it gives the following error:
line 1: [: too many arguments
Is there a solution/alternative?