26 Dec
2002
26 Dec
'02
09:55
On Thursday 26 December 2002 08:56, Jeric wrote:
I am trying list the contents of all .js files in current directory and all subdirectories. I tried the following, but it doesn't work because I can't get the full path to each file (it only works for .js files in my cwd):
more `ls -R | grep -e ".js$"`
However the "ls -R|grep -e ".js$" part only lists the file names, but not their full paths. How can I get it to list the full paths?
more `find . -name "*.js"` -- Australian Linux Technical Conference 2003: http://www.linux.conf.au/ Explain to your boss the benefits of you going...