find command, exclude, ignore paths

find $scripts -type f -not -path '*/\.git/*' -print | sort -k1,1nr | head -200
find -L "$project_root"* -maxdepth 6 -name ".env.global" -not -path '*/node_modules/*' -o -name ".env" -not -path '*/node_modules/*'

Leave a Reply

Your email address will not be published.