User:FeralKitty/Local/Misc stuff

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search


Scan new cards

Read the IDs from the cards

Read the IDs from the filenames and update the wiki's ID table

~/pv/list_id_table.pl --table > list_id_table.txt

Save the old list of barcodes

mv barcodes.txt barcodes_20100122.txt

Scan the cards for barcodes

~/pv/pvr_dimensions.pl > barcodes.txt 2> barcodes_skipped.txt

Check for errors

cat barcodes_skipped.txt

Check against the most recent list of barcodes

diffy barcodes.txt !mv:$

Generate a list of unique barcodes

cut -f1 < barcodes.txt | sort | uniq > barcodes_unique_sorted.txt