Sorry if this has already been asked / answered.
How can I set vanity to generate random or a set of addresses based on a query and save all of the results to a text file?
if u want to use a set make a *.txt file in same directory as vanity looking like this
then use the -f flag >>> oclvanitygen -f file.txt
if u want vanity to write the matches to a file use the -o flag with a filename u want >>>>>oclvanitygen -f file.txt -o testfile
Example command lines (oclvanitygen, device 0, default platform):
Search for exact prefix 1ABCDE, keep searching after first match is found (-k):
>oclvanitygen -d 0 -k 1ABCDE
Search for prefix 1ABCDE in any combination of upper or lower case (-i):
>oclvanitygen -d 0 -i 1ABCDE
Search for ABCD anywhere in address (only supported on CPU vanitygen) (-r):
>vanitygen -r ABCD
Search for prefix 1ABCDE, use a seed file to make address generation more secure and random (-s):
>oclvanitygen -d 0 -s RandomSeedFile.txt 1ABCDE
Search for prefix 1ABCDE, keep searching after first match is found, and save all found address to a file:
>oclvanitygen -d 0 -k -o GeneratedAddresses.txt 1ABCDE
Search for many prefixes at once using a text file listing them (newline after each prefix including last):
>oclvanitygen -d 0 -k -f PrefixList.txt
Use all options above including case-insensitive search, and turn on verbose mode for more information:
>oclvanitygen -d 0 -v -i -k -f PrefixList.txt -o GeneratedAddresses.txt -s RandomSeedFile.txt
When specifying a case-insensitive address prefix on the command line or in a text file list, you must still only use valid Base58 characters.
This means you must only use lower-case i or o, and only upper-case L, or you will get an error.
Bad: 1celeron, 1CELERON
Good: 1ceLeron, 1CELERoN