nixos/home/scripts/git-sync-all.sh

9 lines
237 B
Bash
Executable file

#!/usr/bin/env bash
for DIRECTORY in $HOME/.nixos $HOME/.emacs $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
echo "--- $DIRECTORY ---"
mkdir -p $DIRECTORY
cd $DIRECTORY && git-sync
cd -
done