Requirement:
Create a unzip all files in a directory using a shell script.
Additionally, every time a new zip file is added to the directory, the script to unzip only that new file, not the others that had been unzipped in the past.
Eg: Directory:
/mnt/something/P0045
Files in directory:
0045MYWORLD05152021.ZIP.TS05122021_TS23454.ZIP
0045MYWORLD06152021.ZIP.TS06122021_TS46201.ZIP
0045MYWORLD07152021.ZIP.TS07122021_TS12356.ZIP
First Unzip All:
Input |
Output |
Input |
Above List shown added new zip file and below showing latest file only unzip instead of entire.
Output |
No comments:
Post a Comment