From c4fee00fd8d3540127084aa3142b49e16bae6a6e Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Mon, 28 Sep 2020 12:15:37 +0200 Subject: [PATCH] Speedup copying on btrfs --- lib/includes | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/includes b/lib/includes index f0d21f7..0f764f9 100755 --- a/lib/includes +++ b/lib/includes @@ -23,6 +23,7 @@ LOGLEVEL="${LOGLEVEL:-6}" CRITICAL="${CRITICAL:-48}" WARNING="${WARNING:-24}" DUC=$(command -v duc-nox || command -v duc) +alias cp="cp --reflink=auto" log_date() { echo "[$(date +"%Y-%m-%d %H:%M:%S")]" -- 2.39.2