Skip to main content

Posts

Showing posts from October 29, 2017

Blocklist-Update.sh

Blocklist-Update.sh is a script that I wrote to manage blocklists from bluetack etc to be used in conjunction with Transmission torrent downloader in Linux/MacOS. The script can be taylored to work with Qbittorrent as well, but the placement of the blocklists means you'd have to redirect the blocklist to go somewhere locally manageable as Transmission uses its own blocklist directory in .config. I believe there are about 10 lists there now. It works well for my needs. It can be ran weekly using crontab in standard user profile.  To download:  blocklist-update.sh To download the others:  Github

BASH SCRIPTS: HOW TO USE THEM, HOW TO WRITE THEM, A ND HOW TO MAKE THEM EXECUTABLE. WHAT BASH CAN DO AND MORE.

Bash scripts are miniature programs that you can whip up in under 10 minutes, usually in Notepad. In Windows, you can easily access the system’s components underneath the desktop via batch files. This same concept is also alive in Linux. Linux is heavily built around the terminal, however, unlike it’s predecessor, Unix, great strides have been made to make each new distribution, “User-Friendly”. Bash is one of many programming languages which converts human-readable text into machine language, a way to talk to the system. Each key that you press has a reference to either a 1 or 0. Many keys might access both in a pattern. Binary is questionably the backbone behind even the universe itself, but that’s something else entirely. What I wanted to do here today is go over some of Bash’s usefulness and where you can get some setup scripts which will make it easier to learn the syntax and set up your systems while you’re at it. Bash scripts, like any other program, are loaded from the d