Change behavior to match requirements/expectations.

- Get rid of the interactive input and timed bail out feature.
- Add a -n flag that prints out the directory that would be operated on
  and then exits.
- Improve directory detection logic.