right now i am using something like this: find . -name "*.xml" | xargs grep -l "foobar" it works, but i was wondering if grep has this functionality built in?
On Unix on could I get a listing of all mp3 files inside a directory containing other directories with their full path?
Someone said to me use the find command but I'm not exactly sure how to do it. Basically I need this: suppose I have a folder called dir1 and it contains three sub-directories (dir2, dir3 and dir4 ...
I need a simple unix utility that would allow me to search within files quickly and with basic parameters (this folder, not this kind of files...). Currently I use a hand crafted find function with ...
I want to do the following: cat *.xml | grep some_string_here This tells me if a particular string exists in an xml file in a directory. Unfortunately it does not tell me which file. how can I do ...
how i can write bash file to Find files (number and name of files are variable) inside the folder and save the file names in variables ?