|
help needed in grep and copy
need help in a command. My requirement is that i m grepping the filename based on a pattern in .tar.gz file and then copying the file into some dir
below is what exactly i want to achieve
step 1: grep -l '30017A6800022D1A' CurrentCollectorMeterReadBackup20081007.tar.gz
step 2: file found should be copied to dir nav/files
How to achieve the above steps without unzipping the file ? Plz help me in this
Last edited by ali560045; 11-06-2008 at 03:26 AM..
|