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
orls -r |grep .ini
but neither of return .ini files, return files named such .ini.bak, .ini.original, .ini.old, ect...find . |grep .ini
trynote if search entire filesystem, replace first dot '/'code:find . -name *.ini
sam
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] find files with an extension, then mail the results
Ubuntu
Comments
Post a Comment