diff --git a/.config/bash/module/Cp.sh b/.config/bash/module/Cp.sh index d31435f..71f18ce 100644 --- a/.config/bash/module/Cp.sh +++ b/.config/bash/module/Cp.sh @@ -1,20 +1,20 @@ # Replaces default cp with rsync. # Usage: cp function cp() { - rsync -ahP --chmod=u+w -- "${@}" + rsync -ahP --chmod=u+w "${@}" } # Copy and also merge all changes (delete dst files that do not exist in src). # Usage: cp_merge function cp_merge() { - rsync -ahP --chmod=u+w --delete -- "${@}" + rsync -ahP --chmod=u+w --delete "${@}" } # Copy by creating hardlinks. # Works for directories, too. # Usage: cp_link function cp_link() { - /usr/bin/cp -lr -- "${@}" + /usr/bin/cp -lr "${@}" } # Default cp, a.k.a builtin cp. @@ -26,5 +26,5 @@ function bcp() { # Print output of cp_merge without writing anything. # Usage: cp_test function cp_test() { - rsync -ahP --chmod=u+w --delete -n -- "${@}" + rsync -ahP --chmod=u+w --delete -n "${@}" }