Find files and ignore hidden (.*) files
find /home/user ! -path '*/.*' -type f
- Replace
/home/userwith the folder you want to search. - Change
-type f(files) to-type dto find directories instead.
.*) filesfind /home/user ! -path '*/.*' -type f
/home/user with the folder you want to search.-type f (files) to -type d to find directories instead.