HuntnGather – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 13... | Line 13... | |||
13 | |
13 | |
|
Line 14... | Line 14... | |||
14 | Released under the MIT License, all rights reserved. |
14 | Released under the MIT License, all rights reserved. |
|
Line -... | Line 15... | |||
- | 15 | |
||
15 | |
16 | -=:[ ChangeLog ]:=- |
|
16 | -=:[ ChangeLog ]:=- |
17 | |
|
17 | |
18 | 20210109: |
|
- | 19 | |
||
Line 18... | Line 20... | |||
18 | ?: |
20 | * Add the ability to specify the database file for all tools (-d). |
|
Line 19... | Line 21... | |||
19 | * Add the ability to specify the database file for all tools (-d). |
21 | * Perform some file checking for all tools before running. |
|
20 | * Perform some file checking for all tools before running. |
22 | * Add Amiga-style pattern matching with Hunt. |
|
21 | |
23 | |
|
Line 22... | Line 24... | |||
22 | 20210107: |
24 | 20210107: |
|
Line 23... | Line 25... | |||
23 | |
25 | |
|
24 | * Add the quiet option (-q) to the Gather tool. |
26 | * Add the quiet option (-q) to the Gather tool. |
|
Line 65... | Line 67... | |||
65 | defined at compile time).Otherwise, Hunt & Gather should run under any |
67 | defined at compile time).Otherwise, Hunt & Gather should run under any |
|
66 | platform that benefits from an ANSI C compiler. |
68 | platform that benefits from an ANSI C compiler. |
|
Line 67... | Line 69... | |||
67 | |
69 | |
|
Line 68... | Line 70... | |||
68 | -=:[ Usage ]:=- |
70 | -=:[ Usage ]:=- |
|
Line 69... | Line 71... | |||
69 | |
71 | |
|
Line 70... | Line 72... | |||
70 | First the Gather utility is used to index a path: |
72 | First the Gather utility is used to index a path: |
|
71 | |
73 | |
|
72 | |
74 | |
|
Line 73... | Line 75... | |||
73 | Gather RAM: |
75 | Gather RAM: |
|
74 | |
76 | |
|
Line 75... | Line 77... | |||
75 | |
77 | |
|
Line 76... | Line 78... | |||
76 | which will create a file in the S: directory named "gahter.db". While |
78 | which will create a file in the S: directory named "gahter.db". While |
|
77 | Gather is running, the utility will display the number of indexed |
79 | Gather is running, the utility will display the number of indexed |
|
78 | directories and files on the command line. |
80 | directories and files on the command line. |
|
79 | |
81 | |
|
Line 80... | Line 82... | |||
80 | In order to look for a file, the Hunt utility is invoked with a search |
82 | In order to look for a file, the Hunt utility is invoked with an Amiga |
|
Line 108... | Line 110... | |||
108 | |
110 | |
|
109 | Hunt is the counterpart to Gather and will search the database at |
111 | Hunt is the counterpart to Gather and will search the database at |
|
110 | "S:gather.db" for files matching the terms passed to Hunt on the |
112 | "S:gather.db" for files matching the terms passed to Hunt on the |
|
Line 111... | Line 113... | |||
111 | command line. |
113 | command line. |
|
Line 112... | Line 114... | |||
112 | |
114 | |
|
Line 113... | Line 115... | |||
113 | For instance: |
115 | For instance: |
|
114 | |
116 | |
|
115 | Hunt test |
117 | Hunt #?test#? |
|
116 | |
- | ||
117 | will search all files in the Gather database "S:gather.db" for the |
- | ||
118 | term "test". If any file within the database partially matches the |
- | ||
119 | term "test", then Hunt will display the path on the command line. |
- | ||
120 | |
- | ||
Line 121... | Line 118... | |||
121 | -=:[ Mentions ]:=- |
118 | |
|
- | 119 | will search all files in the Gather database "S:gather.db" for the |
||
- | 120 | term "test". If any file within the database partially matches the |
||
Line -... | Line 121... | |||
- | 121 | term "test", then Hunt will display the path on the command line. |
||
- | 122 | |
||
- | 123 | Hunt uses Amiga-style pattern for matching the file names. |
||
- | 124 | |
||
- | 125 | -=:[ Source ]:=- |
||
- | 126 | |
||
122 | |
127 | The project is open sourced and licensed under MIT. The source code |
|
Line 123... | Line 128... | |||
123 | My boss spilled the data of 800+ employees. |
128 | is included in the AmiNET release or can be checked out via subversion |
|
124 | I called him out and left. |
129 | from the Wizardry and Steamworks repository: |
|
125 | |
130 | |