neezer neezer - 1 year ago 134
PHP Question

Recusive xgettext?

How can I compile a

file using xgettext with PHP files with a single command recursively?

My PHP files exist in a hierarchy, and the straight
command doesn't seem to dig down recursively.

Answer Source

Got it:

find . -iname "*.php" | xargs xgettext

I was trying to use -exec before, but that would only run one file at a time. This runs them on the bunch.

Yay Google!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download