Hacker News new | ask | show | jobs
by johncoltrane 5024 days ago
> The limitation of argdo is that it won’t search the supplied directory recursively

    **
works more or less like * but for directories:

    :args **/*.rb
    :argdo %s/_params/params/gc
will ask for confirmation before doing the substitution on every *.rb file contained in the current directory and its children.