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.
find For Windows
Register today for the Beginner Basics course and get the new releases by just paying the difference. There's also special discounts for existing customers when new courses are released.
Still Not Sure? Check out more curriculum!