mardi 26 mai 2020

shell script to read metadata file line by line and take those text as search pattern to find files placed in another directory

I have a directory(say: myDir) with many files dynamically populated inside it

I have a another meta data file with some texts inside it. Eg: cust_order cust_mgmt ... ...

I need to write a script to read that meta data file line by line and use that text as search pattern to find files with same name which were placed in the directory(myDir). Kindly help to write shell script for this scenario.

Thanks, vivek

Aucun commentaire:

Enregistrer un commentaire