Author: Dan
Date: 19-01-12 23:49
This grabs me all the files that match strings contained within ~/tmp/msgs and puts them in ~/msgs.tar
The match actually looks for the second field in the file.. this just suits the diff I get... adjust for your needs.
[dan@ngaio:~/FreshPorts/freshports.org/msgs/FreeBSD/recent] $ tar -cf ~/msgs.tar `cat ~/tmp/msgs | awk '{print $2}' | egrep -lf - *.raw`
--
Webmaster
|
|