#!/bin/bash for x in $(ls) do if [[ -d $x ]] then sudo stow $x fi done