Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

Linux Shell Scripting: Recursively loop through directories and files but skipping files beginning with dot

This processes all files recursively:
for f in $(find /path/to/qqq -type f)
do 
 echo File: $f
done

Open in new window

I want all files that begin with . such as .htaccess to be excluded.
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial