Got tired of waiting for an update to export these things in a directly-importable-by-mastodon-native-format from fediblockhole, so broke out my shell scripting.
Note: I'm a bash script noob, so be gentle
# copy all files to mastodon subfolder<br></br>cp /opt/fediblockhole/blocklists/*.csv /opt/fediblockhole/blocklists/mastodon/ <br></br><br></br>echo "Creating mastodon versions of files..."<br></br><br></br># convert files to Mastodon header<br></br>cd /opt/fediblockhole/blocklists/mastodon<br></br><br></br>rm -f __allowlist.csv<br></br><br></br># replace first line with mastodon-format header row<br></br>headerrow="#domain,#severity,#reject_media,#reject_reports,#public_comment,#obfuscate"<br></br>for file in *; do<br></br> sed -i "1s/.*/$headerrow/" $file<br></br> # replace bad line terminators<br></br> sed -i "s/r//g" $file<br></br>done<br></br>