I have below data in excel file (data.xlsx)
more than 6000 rows
and i have many text files in my ubuntu system.
Text files directory structure:-
/home/user/excel/report/ML_PROJECT_APPLICATION_WRITE.txt
/home/user/excel/report/folder-1/ML_PROJECT_APPLICATION_OPEN.txt
/home/user/excel/report/folder-1/filepath/ML_PROJECT_UBUNTU_OPEN.txt
/home/user/excel/report/folder-2/ML_PROJECT_CENTOS_WRITE.txt
/home/user/excel/report/folder-3/ML_PROJECT_RHEL_WRITE.txt
One of the text file format as follows,
ML_PROJECT_APPLICATION_WRITE.txt
# //DEPOT/ABCD/PROJECT/Jerd
# Permission: WRITE
dreac.leoson
ritu.bhangale
makyen
markerikson.s
bernardo.pereira
elitezen
The filename of the text files are matching excel sheet's D
column. For each row, i want to a search text file as per D
column and need to look the User-ID in H
column, if user-id exists in that particular row matched text file then user-id
need to be removed from that text file. Need help to achieve this in automated way. Thank you!