|
find | xargs cat
Hi,
I am having trouble getting a combination of commands to work.
I need to traverse through all sub-directories of a certain directory and 'cat' the contents of a particular file in the sub-directories.
The commands on their own work but when I combine them I get no output.
The command I am trying to get working is:
find . -type f -name "developer.txt" | xargs cat
The find command works correctly and when I copy and paste the output of that with a preceeding 'cat', the contents are printed out. However together with the pipe the commands are not working.
|