Monday, 26 August 2013

Find .gz file using original file

Find .gz file using original file

All,
I would like to retrieve a .gz file from a directory based on original
file name. Please let me know how to achieve the same.
Ex: In the below example, I know only original file name (02.txt), I need
to retrieve the file abc02.gz from that directory
GZ File Name Original File Name abc01.gz 01.txt abc02.gz 02.txt abc03.gz
03.txt
Regards, Praveen

No comments:

Post a Comment