I would like to know if a particular folder is present or not. I used the following command
find /mnt/md0/ -maxdepth 1 -name 'dcn'||'DCN'
I want to know if folder name is DCN or dcn .
How would I do this ?
You're looking for the option
see this answer to have a real compatibility with non GNU and old find version
You can use this:
Or for case insensitive match:
You don't necessarily need