The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 09-28-2007
redlotus72 redlotus72 is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 69
Quote:
Originally Posted by radoulov View Post
For filenames with no embedded spaces(or other pathological characters):

Code:
mv $(grep -l "1189609240791-1268115603299237276@216.109.111.119 ')  /tmp/inv
Otherwise write a loop.

Aah, and if you get "too many arguments",
use zsh/zargs
Its not working...

ctlrws001[/tmp/inv1]$ cp $(grep -l "1190151616066-4284832706333417688@216.109.111.119') /tmp/inv/test
>
ctlrws001[/tmp/inv1]$ grep -l "1190151616066-4284832706333417688@216.109.111.119
>