a bash script code look for a certain folder in a given folder
input [Folder to look for in ] [Searched Folder]
output : the searched Folder name if found otherwise empty line
The function can be modified in such way:
- extending the list of arguments
- replacing grep by egrep
- using rgex parttern for Searched Folder rather than actual filename