From 967b6518b8fa6822351b3d1beaac97c7ca26d398 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Fri, 14 Sep 2012 18:11:48 +0200 Subject: [PATCH] feature #1437: Get cp to copy contents of the VMDK disk folder, not the folder itself --- src/datastore_mad/remotes/vmfs/cp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datastore_mad/remotes/vmfs/cp b/src/datastore_mad/remotes/vmfs/cp index 0fe6a93ed3..52f8c26c3a 100755 --- a/src/datastore_mad/remotes/vmfs/cp +++ b/src/datastore_mad/remotes/vmfs/cp @@ -142,7 +142,7 @@ fi # Make the final hop, front-end -> VMFS Datastore if [ "$USE_SSH" == "yes" ]; then - exec_and_log "$SCP -r $SRC $DST_HOST:$DST" "Error copying $SRC to $DST through SCP" + exec_and_log "$SCP -r $SRC/* $DST_HOST:$DST" "Error copying $SRC to $DST through SCP" else cd $SRC for file in $(find . -type f); do