Use String.Contains() to process only assets that have a given string in their asset paths.
String.Contains()
if (assetPath.Contains("ProcessThisFolder")) { // Process asset }