This one time, at band camp, Andrew Foster wrote:
>These files do exist on my system, except they're scattered throughout a
>directory tree hierachy, and there's no path info in my text file to say
>where. 
>
>I need to find the given files in the tree, then do stuff with them. For
>instance, delete them.

cat file | while read line; do find -name '*$line' -exec rm {} \;; done

-- 
[EMAIL PROTECTED]                           http://spacepants.org/jaq.gpg
 
And on the seventh day the Lord createth Windows. And the Lord hath 
seen... that it is *not* good.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to