0
votes
1answer
22 views

How to find files that contain a string in its content OR the path?

Find and grep does not work afaik because I need to create a list of files that satisfy EITHER requirement, not both. I assume this requires more than a one-liner. Any suggestions?
2
votes
2answers
466 views

Search all files containing text

With Busybox, how do you search for an expression within a bunch of files recursively through a bunch of directories, but only look through text files? We don't know what the file's suffix is going ...
0
votes
2answers
738 views

Recursive touch command on BusyBox 1.01

I'm trying to write a bash script that will run on my QNap NAS to touch a directory recursively. I have this: find $1 -exec touch {} + However, find that comes with BusyBox 1.01 doesn't support the ...