Skip to main content

Thread: find files with an extension, then mail the results


is there easy way recursive command line search on path particular type of file extension?

want build script check existence of .xxx files in recursive path, if exist, run "mail" command send me message. have mail running on server.

thoughts try
ls -r |grep .ini
or
find . |grep .ini
but neither of return .ini files, return files named such .ini.bak, .ini.original, .ini.old, ect...

try
code:
find . -name *.ini
note if search entire filesystem, replace first dot '/'

sam


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] find files with an extension, then mail the results


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support