Anothe rmethod to perform a recursive find in Linux using xargs
instead of -exec
find -name '*.c' | xargs ls "$1" - will give a directory listing of all files that end in .c
Use find -iname
for a case insensitive search.
A little bit of wisdom
Anothe rmethod to perform a recursive find in Linux using xargs
instead of -exec
find -name '*.c' | xargs ls "$1" - will give a directory listing of all files that end in .c
Use find -iname
for a case insensitive search.