I have a directory with file names as " 202.png, 405.png, 0052.png, 04050.png, ...... I need a find command to find filenames excluding zeros that appear in the beginning of the file name. For example if i have a file with file name 00504.png then when I pass argument 504.png to find command it has to return the filename 00504.png which is actual name of the file in the directory.
Expected output command is
$ find . -name 504.png
It has to return the original filename which is 00504.png