I am using a data recovery tool. It restores directories and subdirectories with numbered file names so I need to be able to search for certain strings in the contents of the file. I would also like to be able to search for file suffixes like .mp3 or .doc if possible.
So this is what I have
awk '/the/ {print}' recup_dir.1/*.txt
but I get an error that says too many directories. So I was wondering if some kind of loop like
for $i in
can anyone show me exactly what should work. I am not a programmer. I know just enough to be dangerous and to cause many headaches.
Thanks
So this is what I have
awk '/the/ {print}' recup_dir.1/*.txt
but I get an error that says too many directories. So I was wondering if some kind of loop like
for $i in
can anyone show me exactly what should work. I am not a programmer. I know just enough to be dangerous and to cause many headaches.
Thanks