I am new to scripting. I am looking for a way to find a filename in a
directory using regular expressions. I do not have a client-server setup
i.e. the directory that I want to search in is local (the same directory
in which the script resides). What functions are used to list one by one
the files in a directory so that I may match the filename with a regular
expression (say to find all files which begin with profile_5). Any
suggestions/pointers will be highly welcome.
Thank you for your help.
directory using regular expressions. I do not have a client-server setup
i.e. the directory that I want to search in is local (the same directory
in which the script resides). What functions are used to list one by one
the files in a directory so that I may match the filename with a regular
expression (say to find all files which begin with profile_5). Any
suggestions/pointers will be highly welcome.
Thank you for your help.
Comment