The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



Thread: copy after grep
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-15-2008
finalight finalight is offline
Registered User
 

Join Date: May 2008
Posts: 51
copy after grep

i think i got the order wrongly...

cp|grep "get" * test

it says argument for cp is 0


i only just want to copy files with the grep input pattern (all are text files definitely) from one directory into another
Reply With Quote
Forum Sponsor