Article 6E9CG two executables on 30+ subdirectories

two executables on 30+ subdirectories

by
atjurhs
from LinuxQuestions.org on (#6E9CG)
hi guys,

i have a directory with 30+ subdirectories and i need to run two binary executables on the contents of each subdirectory then write the output to a text file. so far i've been doing this by hand which is mind-numbing to say the least so i'd like to automate this a bit, something like

Code:#!/usr/bin/bash
binary.1
binary.2 input output
grep -r string > filename.txt thanks for whatever help you're able to give!

Todd
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments