Organizing long lists of text/docs

Discussion in 'Mac Programming' started by knowhate, Mar 5, 2015.

  1. knowhate, Mar 5, 2015
    Last edited: Jul 16, 2016
  2. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #2
    The 'grep' command (or others) at the Terminal command line might be useful. However, you'll need to describe exactly what you want to accomplish. "Organize" is far too vague.
     
  3. knowhate, Mar 5, 2015
    Last edited: Jul 16, 2016

    knowhate thread starter macrumors regular

    Joined:
    Jan 7, 2008
  4. kryten2 macrumors 6502a

    Joined:
    Mar 17, 2012
    Location:
    Belgium
    #4
    Have you tried TextWrangler's Multi-File Search? Take a look at the Search and Grep Reference section in TextWrangler Help.
     
  5. JustMartin macrumors 6502a

    Joined:
    Feb 28, 2012
    Location:
    UK
    #5
    Does sound like you need a terminal session, grep and a file redirect oh and possibly find as well. Here's an example of looking in all txt files for the start of a url and putting output into a file

    Code:
    find -name "*.txt" -print 2>/dev/null | xargs grep "http" > urls.txt
    be careful about what you specify in the grep code as you might have to escape out any special characters like ':' or '/'
     
  6. robvas macrumors 68020

    Joined:
    Mar 29, 2009
    Location:
    USA
  7. knowhate, Mar 6, 2015
    Last edited: Jul 16, 2016

    knowhate thread starter macrumors regular

    Joined:
    Jan 7, 2008
  8. kage207 macrumors 6502a

    Joined:
    Jul 23, 2008
    #8
    Evernote does not.

    You'll need to use terminal by piping in the text from the files and use a regular expression to organizing like names.
     

Share This Page