[no]ignore-dir not working

4 views
Skip to first unread message

Chinh Le

unread,
Jan 9, 2023, 9:49:08 AM1/9/23
to ack users
Hello everyone,

Running `ack -ilc someString --[no]ignore-dir=dist` to search 'someString' in 'dist' directory does not work.

Any help is much appreciated.

Thx!
Chinh

Andy Lester

unread,
Jan 9, 2023, 9:51:09 AM1/9/23
to ack-...@googlegroups.com


> On Jan 9, 2023, at 6:32 AM, Chinh Le <chinh...@gmail.com> wrote:
>
> Running `ack -ilc someString --[no]ignore-dir=dist` to search 'someString' in 'dist' directory does not work.


If you want to search in a directory, just specify the directory name.

ack -ilc someString dist

The --ignore-dir option is for when you have ack searching all the directories, and you want to ignore a specific directory.

The --noignore-dir lets you override a previous --ignore-dir option, such as from inside an .ackrc file.

Andy
Reply all
Reply to author
Forward
0 new messages