I have a directory with approximately 100,000 files in it, and I want to perform some function for all files starting with the specified line, which can correspond to tens of thousands of files.
I tried
ls mystring*
but it returns with the bash error "Too many arguments". My next plan was to use
find ./mystring* -type f
but it has the same problem.
The code should look something like this:
for FILE in `find ./mystring* -type f` do
Thanks in advance, Rik
bash find
RikSaunderson Oct. 27 '10 at 15:26 2010-10-27 15:26
source share