Ir al contenido principal

Entradas

Mostrando entradas de febrero, 2012

Mute google reader feeds

Add a cron job for this script:

#!/usr/bin/env bash
################################################################################
# Author: Borja Garcia
# Program: GReaderMuted
# Descrip: Mute all entrys below a label
# Version: 0.0.0
# Date: 20120228
# License: This script doesn't require any license since it's not intended to be
# redistributed. In such case, unless stated otherwise, the purpose of
# the author is to follow GPLv3.
# Version: 0.0.0 (20120228)
# - Initial release
################################################################################

# Parameters
DATE=`date +%Y%m%d`
SCRIPT_PATH="${BASH_SOURCE[0]}"
while [ -h "$SCRIPT_PATH" ] ; do
SCRIPT_PATH="$(readlink "$SCRIPT_PATH")";
done
SCRIPT_DIR="$( cd -P "$( dirname "$SCRIPT_PATH" )" && pwd )"
LOG_PATH="$SCRIPT_DIR/log"

# Main function

function main() {
label="Muted"