blob: dca1262c7f4345d54c43733a646cbcfe6c1b68b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
to_host="$1"
if [[ -z "${to_host}" ]]; then
echo "usage: $0 <host>"
exit 1
fi
files="inputrc gitconfig"
for file in $files; do
rsync -avz --delete "${HOME}/src/dotfiles/${file}" "${to_host}:.${file}"
done
[ -f "${HOME}/.gitconfig.private" ] && rsync -avz --delete "${HOME}/.gitconfig.private" "${to_host}:"
|