dotfiles/copy

10 lines
277 B
Bash
Executable File

#!/bin/bash
# Copy dotfiles to ~
# Regular cp options can be passed when running the script.
# For example:
# $ ./copy.sh -i # prompt before overwrite
# $ ./copy.sh --backup=none # doesn't backup existing files
cp -r --backup=numbered $@ dotfiles/. -t ~