#!/bin/bash for host in ~/.config/qdated/*; do HOME="$host" /home/$USER/.linuxbrew/bin/qdated-now > "$host/current" done