Saved in an experimental, but good, state.
This version works with directories containing spaces... at least on Posix.