How can I use the result of a find command in an if statement to compare with true or false ? Something like that:
if [ `find . -name test.txt -size 156c` -eq "true" ]; then echo Found
How can I use the result of a find command in an if statement to compare with true or false ? Something like that:
if [ `find . -name test.txt -size 156c` -eq "true" ]; then echo Found