ggreer / the_silver_searcher

A code-searching tool similar to ack, but faster.

Home Page:http://geoff.greer.fm/ag/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List all files

blueray453 opened this issue · comments

How can I list all files using ag? I mean, I do not want to use a search term.

I want to do this so that I can find all files except ignored (.gitignore) files.

I think ag -l (lower-case ell) does what you want.

A careful review of the man page and a bit of experimentation can often resolve issues like this, though.

A screenshot showing the 'ag' man page, with the help for the '-l' / '--files-with-matches' option highlighted