Solved
How to get files from latest directory based on name
I have folders with date as their name:
./20141002
./20141009
./20141016
./20141023
How do I get files from the latest folder based on the names above?
I know this command
find . ! -path . -type d | sort -nr | head -1works but how do I do it with a NiFi processor?

