From e56b7b83eb6c96e68e7c577b6c17aa8f103cb078 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Tue, 19 Sep 2023 20:09:13 +0300 Subject: [PATCH] Add rsync based copy command --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index 5d3baf5..fd380f6 100644 --- a/.zshrc +++ b/.zshrc @@ -358,3 +358,8 @@ function nitroid { } compdef 'compadd -X "Identity" 0 1 2' nitroid + + +function cpr { + rsync --archive -hh --partial --info=stats1,progress2 "$@" +}