Forum Discussion

Sahoo710's avatar
Sahoo710
Copper Contributor
Feb 14, 2022

Extract .gz files and unzip them using the 'tar' or 'winzip' command.

Need to create one scripts to extract .gz files and unzip them using the 'tar' or 'winzip' command, for each unzipped file use the "select-string" or "get-content" powershell commnads to locate any instancesof the corrupted string values.

    • Sahoo710's avatar
      Sahoo710
      Copper Contributor
      what types of details, do you require further?
      Above mentioned things is my requirement
      • "For each unzipped file use the "select-string" or "get-content" powershell commnads to locate any instancesof the corrupted string values." Don't understand, what are the types of files that you extract/what do you expect/what are the issues with the files and the reason that you need to check them?

Resources