Thursday, 24 November 2011

unix - How do you handle the "Too many files" problem when working in Bash? - Stack Overflow

I used to encounter this problem alot when I thought it was a better idea to split fasta files individually and keeping a blast report separate for each file (Sanger Seq era ... ) revisited this problem when a friend asked for help ... 

In short

  find . -print0 | xargs -0 grep -H foo
  find ../path -exec grep foo '{}' '+'

No comments:

Post a Comment

Datanami, Woe be me