We’ll try to stay in the project root if possible.
Find all non-hidden files to know the file structure.
$ find -path './.*' -prune -o -type f -print
./Algo-init.iml
./out/production/Algo-init/fr/eql/ai114/algo/init/demo/_1_HelloWorld.class
./src/fr/eql/ai114/algo/init/demo/_1_HelloWorld.java
-
-prunereturns true for the chosen path and preventsfindfrom descending. -
-omeans OR, so the paths matching-prunewon’t pass through-o. -
-type fselects files, not folders. -
By default, AND is used to connect different conditions.
[Read More]