/find-file-in-directory-tree

Primary LanguageCGNU General Public License v3.0GPL-3.0

Find File In Directory Tree

Overview

Search if there is file under directory tree. This implementation skip special folder entries '.' , '..', and hidden files starting with '.'.

This is only tested for Linux.

Test

Test script

# cc ff.c
# ./a.out /usr man 10
found file path = /usr/bin/man