freese.blogg.se

Peerblock for mac 2018
Peerblock for mac 2018







peerblock for mac 2018

"~/Library/Application Support/Transmission/blocklists/"Īll this ultimately results in the following lines being fed one by one by xargs to the curl command: Write only the lines from each file that don't start with a # (i.e. In the resultant lines, change all occurrences of the string gz to gz"įeed the resultant lines one by one to the curl command (-L means curl will automatically redo the grab if server says any file resource has moved)įeed each file downloaded by curl to gunzip program (uncompress it) In the resultant lines change all occurrences of the string http to "http In the resultant lines, change all occurrences of & to & (anything)value=http:(anything)=bt_(anything)Ĭhop out and dump the first bit ( (anything)value= ) from each of the lines you find Search each line of this webpage, looking for lines containing text of the form Grab the webpage " " in silent mode (no progress bar or error messages) Plain english Explanation of each bit of the command does: | egrep -v '^#' > ~/Library/Application\ Support/Transmission/blocklists/

#Peerblock for mac 2018 code

Hope this helps people tweak the code to do other similar stuffįor more clarity as to what's going on, I've put each piped segment of the command on seperate lines,īut remember it's all one big line. Hope it's accurate but if I have made any errors please correct me! :-) much posted a plain english translation of what each bit does below. I've analysed the code for mac version (thanks v.









Peerblock for mac 2018