Skip to content

Commit

Permalink
Add IP removal details so I stop forgetting the regex!
Browse files Browse the repository at this point in the history
  • Loading branch information
Terence Eden committed Jul 27, 2024
1 parent 3991002 commit 0bba516
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions database/README.txt
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
Before using bath-import_new.mysql you will need to create a user with userID value of 9.

To remove IP addresses before upload, run:

sed -i -E 's/[0-9]{1,3}(\.[0-9]{1,3}){3}/anon/g' openbenc_benches_table_users.sql


0 comments on commit 0bba516

Please sign in to comment.