Do you know any programs to 'Find' specific phrases in files?

Discussion in 'Products & Tools' started by eusophix, May 4, 2006.

  1. #1
    I use 'multireplace' program to do find/replace a specific pattern (like google adsense code) in all files in a folder(s). But I need a program just to 'Find' (but not replace) a pattern in files and spit out the file names that have that pattern (again like adsense code).

    Multireplace doesnt do just find. Do any of you know any such programs?

    Thanx in advance.
     
    eusophix, May 4, 2006 IP
  2. Phynder

    Phynder Well-Known Member

    Messages:
    2,603
    Likes Received:
    145
    Best Answers:
    0
    Trophy Points:
    178
    #2
    "grep" in unix and "find" in DOS - both work in a similar manner
     
    Phynder, May 4, 2006 IP
  3. mystikmedia

    mystikmedia Jedi Master

    Messages:
    5,564
    Likes Received:
    498
    Best Answers:
    0
    Trophy Points:
    270
    #3
    If you're looking for a Windows tool, there's one called HTML Search and Replace that can do that as well as replace. Don't let the name fool you; it can search any files in addition to HTML.
     
    mystikmedia, May 4, 2006 IP
  4. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    theblight, May 5, 2006 IP
  5. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'll plug textpad, I think it's a great product.
     
    exam, May 5, 2006 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    Another vote for grep! :)
     
    digitalpoint, May 5, 2006 IP
  7. RectangleMan

    RectangleMan Notable Member

    Messages:
    2,825
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    210
    #7
    grep -rn 'search terms' | more
     
    RectangleMan, May 5, 2006 IP
  8. Mystique

    Mystique Well-Known Member

    Messages:
    2,579
    Likes Received:
    94
    Best Answers:
    2
    Trophy Points:
    195
    #8
    On site? grep

    on your PC?... I use Araneae to open as many files as my computer memory allows (or divided into batches when too large and more than 100 or so) and then running a FIND/REPLACE search I find them all, just selecting "Find Next" instead of "Find and Replace"

    www.araneae.com
     
    Mystique, May 5, 2006 IP
  9. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    On Server Side I GO for:

    Grep
    SED
    AWK

    A combination of the three makes my life easy..:D
     
    theblight, May 6, 2006 IP