summaryrefslogtreecommitdiffstats
path: root/client/engine/File.lib
diff options
context:
space:
mode:
Diffstat (limited to 'client/engine/File.lib')
-rwxr-xr-xclient/engine/File.lib4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/engine/File.lib b/client/engine/File.lib
index c56d1793..ea3956e6 100755
--- a/client/engine/File.lib
+++ b/client/engine/File.lib
@@ -118,9 +118,7 @@ esac
[ -n "$SOURCE" ] || ogRaiseError $OG_ERR_NOTFOUND "${ARGS% $*}" || return $?
TARGET="$(ogGetPath "$@")"
[ -n "$TARGET" ] || ogRaiseError $OG_ERR_NOTFOUND "$@" || return $?
-# Copiar fichero.
-cp -a "$SOURCE" "$TARGET" # (definir posible error)
-# Para evitar problemas con las comunicaciones las copias se hacen con rsync en lugar de cp.
+# Copiar fichero (para evitar problemas de comunicaciones las copias se hacen con rsync en vez de cp).
rsync --progress -avh "$SOURCE" "$TARGET"
}