This exercise is very similar to the
ls exercise, but instead of simply listing based on a pattern you are taking various commands to more finely control the search. This will help you solidify your understanding of the
fs module which will be essential for future exercises.
Notes on Commander.js
find command is an odd one because it uses the non-standard
-name style (one dash, one word) while the rest of Unix tools use
--name style (two dash, one word) or
-n (one dash, one letter) style. For now, if you want to keep using commander.js then you'll have to use the
--name style and just go with it for now.
Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.