Results 1 to 2 of 2
hello, newbie here. i am using a program called bdc antivirus to remove viruses. it cannot get into archives and remove stuff in them on win partitions. it can however ...
- 12-22-2006 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 90
bdc and some fun stuff
hello, newbie here. i am using a program called bdc antivirus to remove viruses. it cannot get into archives and remove stuff in them on win partitions. it can however create a logfile of what worked and what failed. is there a way to use grep to grab filenames that occur before the words "update failed" and then <find> to find the location and rm to remove them? a parser of types?
- 12-23-2006 #2Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,116
Hi, jwmw1023.
Yes, grep will probably work. You will likely get more responses if you post a short sample of the text that you have, and then a sample of what you wish the output to be.
When posting text, select the text and click the # to put code tags around it for easy reading, like this:
... cheers, drlCode:The 7 most recent daily directories: 8461 /backup/xandros/drl/2006-12-23 7823 /backup/xandros/drl/2006-12-22 26847 /backup/xandros/drl/2006-12-21 9703 /backup/xandros/drl/2006-12-20 9358 /backup/xandros/drl/2006-12-19 7689 /backup/xandros/drl/2006-12-18 5646 /backup/xandros/drl/2006-12-17
Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
We look forward to helping you with the challenge of the other 10%.
( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )


Reply With Quote
