/findx

Wrapper to extend the Unix ``find`` command

Primary LanguagePython

findx - an extended find command.

Installation

Package can be installed via easy_install or pip.

  • Create the binary distribution:

    python setup.py bdist
    
  • Install via pip:

    pip install .
    

or

  • Install via easy_install:

    easy_install .
    

Running the tests

Install nose, then run the tests via:

nosetests test/test.py

History

Version 0.9.3

  • Only use --no-run-if-empty if we have GNU xargs. BSD xargs does not support the option, but implements the behavior by default.

Version 0.9.2

  • Fix incorrect interpretation of "pre-options". Previously, all non-expression options were considered "pre" and were floated in front of any supplied paths. This was incorrect; only a few of the "pre-options" belong before the paths, and the rest belong after the paths.
  • Add support for new find switches.
  • Treat -exec as an action to avoid spurious extra -print when using excluded files (e.g., findx -stdx -exec echo + used to have the default action -print appended because -exec wasn't correctly recognized as an action).

Version 0.9.1

  • For portability on BSD-based systems, added path "." to command if no path is specified.
  • Update unit tests.