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
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