Well that's a way to do it, but there's not a way to do all of that in one shot?
---------------------------------------- Nick Crast Software Engineer Saab Sensis Corporation Phone: 315-445-5703 Email: nicholas.cr...@saabsensis.com -----Original Message----- From: David Cole [mailto:dlrd...@aol.com] Sent: Thursday, July 30, 2015 4:39 PM To: Crast, Nicholas Cc: cmake@cmake.org Subject: Re: [CMake] List of files not containing string Get the list of all files, loop over them, and filter out the ones that DO have the string in the name ...? On Thu, Jul 30, 2015 at 4:05 PM, Crast, Nicholas <nicholas.cr...@saabsensis.com> wrote: > All, > > > > This seems like a pretty simple task, but I cannot figure out a good > way to do it. I want to get a list of all files in a directory that do > not have a certain string in the filename. > > > > Can someone help? > > > > -Nick > > > > ---------------------------------------- > > Nick Crast > > Software Engineer > > Saab Sensis Corporation > > Phone: 315-445-5703 > > Email: nicholas.cr...@saabsensis.com > > > > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For > more information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake