Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help with the following assignment All your script in this lab must use the bash shell in the interpreter line. Introduction You are
I need help with the following assignment
All your script in this lab must use the bash shell in the interpreter line. Introduction You are a Linux Engineer working in the backend development team for a local company Each day a list of files requiring processing is received everyday via email The list is saved into a file called foop.in (provided) The list must be partitioned and send to different units. For example, the list of payroll related files must be sent to Accounting, the list of files with wrong naming convention must be sent to Processing, etc. Below are the different categories Billing and Payment files (arch files) These are 1. All the files in the directores'gelld-sftp" andanc-sftp" 2. files in the directory "triad. 152 sftp" that contain the keyword''-Terms_ "acs-sftp" that starts with "DeductiDRequest " "salem5-sftp" that starts with SalemEive' or SalemEiveBenefits_" ."harris-1462-sftp" that contains"DeductionRepot ."bestbuy-1369-sftp" that containsDeductionRegister' "Sheridan-679-sftp that contains "Billing (or billing) "cmh-667-sto that contains "RedBea_ Trustmark-1003-sftp named simply as a string of numbers followed by "FIL", such as 00000252 FIL.pgp Eligibility files (eligfiles) These are 1. all files that contain the keyword"_Eligibility_ in their name 2. Files in "emory-1410-ste' that contain the keywordEligibility in their name Naming convention files (name.files) These are files not named properly. They are Filenames with uppercase extension such as " GPG"or" PGP' -Filenames that contain spacefs) -Files in directory mercer-sftp that start with "LifeSoace_" and do not have an underscore after the keyword CAD . Files in directory "asftp., that start with-L3Comm " and do not have an underscore after the keyword . CAD" . Files in directory'acssftp, that start with .ADT-" and do not have the keyword-FULL" between .Into Armor, and the date - Files in the directory "adp-sftp that start with TomraofNorthAmerica' and do not have the keyword"_CAD_" between InfoArmor and the date - Files in the directory "aon-197-sftp" that start with "ResCare_' and do not have the keyword"_CAD_" between InfoArmor and the date. -Files in the directory "bhsi-1520-sftp" that starts with "bhsky' instead of "Bhsky" -Files in directory adp-818-sftp that start with "Dassault and do not have an underscore after the keyword_FullStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started