in reply to Distinguishing files from folders

You might also be interested in the slew of such operators that can make your life a lot easier.-X .