I'm sharing my script which will allow you to search for specified Vanitygen output addresses in a directory or a single file. The default directory is in the script and everything can be changed to your liking.
You can search for a single address in all files, an address in a single file, or for all addresses in a directory.
#Vanitygen output file reader/searcher/aggregator
#
#file output is achieved with the following command
#./vanitygen -f addressfind.txt -k -o address.txt
#
#USAGE - ./CHECKADDY.sh "1SEARCHADDRESS" "address_list.txt" /home/custom_addy_dir/
#usage using default DIR showing all addresses - ./CHECKADDY.sh
#usage with SEARCHTERM - ./CHECKADDY.sh "1Digicoin"
#usage define DIR - ./CHECKADDY.sh "1Digicoin" "" /home/bct/vanitygen-master/AFOUNDdir/
#usage using FILE and blank search term - ./CHECKADDY.sh "1Digicoin" address.txt
Create a file named "CHECKADDY.sh" on your Linux box using the below linked script and run with one of the above usage commands!
CHECKADDY.sh - Vanitygen Output File Address Search ScriptThis bash script was built in Linux, but should work fully on Windows 10 with Bash.
Sample usage searching for specific addresses in ALL files:user@debkav:~# cd /home/bct/vanitygen-master/
user@debkav:/home/bct/vanitygen-master# ./CHECKADDY.sh "1Digi"
Processing /home/bct/vanitygen-master/AFOUNDdir/address_easy_set1.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_1.txt file...
Number of addresses in file: 3
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_2.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_1.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_2.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_3.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_4.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address.txt file...
Number of addresses in file: 0
Total number of addresses: 3
Temp File Location - ( /home/bct/vanitygen-master/AFOUNDdir/tmp_Address_list.txt )
Address: 1DigivomtoYiWs7DPfnFwE6w2K6RLugUTL
Address: 1Digik7QKY5FZeqTVnWKjcMjocFM4kXuqy
Address: 1DigiGPdH6ZtKdicHVvGoBnCj4Tyki85wy
Sample usage searching for specific addresses in a single file:user@debkav:~# cd /home/bct/vanitygen-master/
user@debkav:/home/bct/vanitygen-master# ./CHECKADDY.sh "1Digi" address_found_1Digi_1.txt
Number of addresses in file: 3
File Location - ( /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_1.txt )
Address: 1DigivomtoYiWs7DPfnFwE6w2K6RLugUTL
Address: 1Digik7QKY5FZeqTVnWKjcMjocFM4kXuqy
Address: 1DigiGPdH6ZtKdicHVvGoBnCj4Tyki85wy
Sample usage showing ALL addresses in default directory:user@debkav:~# cd /home/bct/vanitygen-master/
user@debkav:/home/bct/vanitygen-master# ./CHECKADDY.sh
Processing /home/bct/vanitygen-master/AFOUNDdir/address_easy_set1.txt file...
Number of addresses in file: 552
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_1.txt file...
Number of addresses in file: 299
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_2.txt file...
Number of addresses in file: 412
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_1.txt file...
Number of addresses in file: 210
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_2.txt file...
Number of addresses in file: 226
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_3.txt file...
Number of addresses in file: 59
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_4.txt file...
Number of addresses in file: 521
Processing /home/bct/vanitygen-master/AFOUNDdir/address.txt file...
Number of addresses in file: 101
Total number of addresses: 2380
Temp File Location - ( /home/bct/vanitygen-master/AFOUNDdir/tmp_Address_list.txt )
View results? (2380 found)
1) Yes
2) No
#?
Address: 1D1jcC1Scaaxss3btL7qwYaDck7WtM7Q9A
Address: 1D1P3SQ9eeitieWTHdeVmAKbKUJmQFQEyx
and so on if you chose Yes....
Listing will show ALL 2380 addresses, only showing 2 in this example as 2380 lines of text is absurdly long.
Otherwise, addresses can be viewed in the temporary file, tmp_Address_list.txt