I am newbie on linux os. My target is selecting files which have the specific string values in filenames on console mode
This is my sample filename,
filename : apnic-2016-02-01
condition : The first letter of filename should not start with 'b' and the day value (01) should be odd value
Below is my command using pipe and grep command.
ls -al | grep -v [b] --> choosing the filenames which dose not start with 'b' and working successfully
but I am stuck with selecting odd value in the filename. I wonder how to choose the odd day value on filename.
Any reply will be welcomed.