VirtualBox

Changeset 71815 in vbox


Ignore:
Timestamp:
Apr 11, 2018 9:29:45 AM (6 years ago)
Author:
vboxsync
Message:

Guest Control/VBoxManage: Removed to --dryrun parameters from the "copyto" and "copyfrom" commands.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r71132 r71815  
    77      built into VBoxManage as well as manpages (hacking in progress).
    88
    9     Copyright (C) 2006-2017 Oracle Corporation
     9    Copyright (C) 2006-2018 Oracle Corporation
    1010
    1111    This file is part of VirtualBox Open Source Edition (OSE), as
     
    47004700
    47014701          <screen>VBoxManage guestcontrol &lt;uuid|vmname&gt; copyfrom [common-options]
    4702            [--dryrun] [--follow] [--R|recursive]
     4702           [--follow] [--R|recursive]
    47034703            --target-directory &lt;host-dst-dir&gt;
    47044704            &lt;guest-src0&gt; [&lt;guest-src1&gt; [...]] </screen>
     
    47094709                <glossdef>
    47104710                  <para>Specifies the VM UUID or VM name. Mandatory.</para>
    4711                 </glossdef>
    4712               </glossentry>
    4713 
    4714               <glossentry>
    4715                 <glossterm><computeroutput>--dryrun</computeroutput></glossterm>
    4716                 <glossdef>
    4717                   <para>Instructs VBoxManage to perform a dry run instead of an actual file copying
    4718                   operation. Optional. </para>
    47194711                </glossdef>
    47204712              </glossentry>
     
    47624754
    47634755          <screen>VBoxManage guestcontrol &lt;uuid|vmname&gt; copyto [common-options]
    4764            [--dryrun] [--follow] [--R|recursive]
     4756           [--follow] [--R|recursive]
    47654757            --target-directory &lt;guest-dst&gt;
    47664758            &lt;host-src0&gt; [&lt;host-src1&gt; [...]] </screen>
     
    47714763                <glossdef>
    47724764                  <para>Specifies the VM UUID or VM name. Mandatory.</para>
    4773                 </glossdef>
    4774               </glossentry>
    4775 
    4776               <glossentry>
    4777                 <glossterm><computeroutput>--dryrun</computeroutput></glossterm>
    4778                 <glossdef>
    4779                   <para>Instructs VBoxManage to perform a dry run instead of an actual file copying
    4780                   operation. Optional. </para>
    47814765                </glossdef>
    47824766              </glossentry>
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp

    r71319 r71815  
    186186
    187187} GCTLCMDCTX, *PGCTLCMDCTX;
    188 
    189 
    190 typedef struct COPYCONTEXT
    191 {
    192     COPYCONTEXT()
    193         : fDryRun(false),
    194           fHostToGuest(false)
    195     {
    196     }
    197 
    198     PGCTLCMDCTX pCmdCtx;
    199     bool fDryRun;
    200     bool fHostToGuest;
    201 
    202 } COPYCONTEXT, *PCOPYCONTEXT;
    203188
    204189/**
     
    340325        RTStrmPrintf(pStrm,
    341326                     "                              copyfrom [common-options]\n"
    342                      "                              [--dryrun] [--follow] [-R|--recursive]\n"
     327                     "                              [--follow] [-R|--recursive]\n"
    343328                     "                              <guest-src0> [guest-src1 [...]] <host-dst>\n"
    344329                     "\n"
    345330                     "                              copyfrom [common-options]\n"
    346                      "                              [--dryrun] [--follow] [-R|--recursive]\n"
     331                     "                              [--follow] [-R|--recursive]\n"
    347332                     "                              [--target-directory <host-dst-dir>]\n"
    348333                     "                              <guest-src0> [guest-src1 [...]]\n"
     
    351336        RTStrmPrintf(pStrm,
    352337                     "                              copyto [common-options]\n"
    353                      "                              [--dryrun] [--follow] [-R|--recursive]\n"
     338                     "                              [--follow] [-R|--recursive]\n"
    354339                     "                              <host-src0> [host-src1 [...]] <guest-dst>\n"
    355340                     "\n"
    356341                     "                              copyto [common-options]\n"
    357                      "                              [--dryrun] [--follow] [-R|--recursive]\n"
     342                     "                              [--follow] [-R|--recursive]\n"
    358343                     "                              [--target-directory <guest-dst>]\n"
    359344                     "                              <host-src0> [host-src1 [...]]\n"
     
    17491734    enum GETOPTDEF_COPY
    17501735    {
    1751         GETOPTDEF_COPY_DRYRUN = 1000,
    1752         GETOPTDEF_COPY_FOLLOW,
     1736        GETOPTDEF_COPY_FOLLOW = 1000,
    17531737        GETOPTDEF_COPY_TARGETDIR
    17541738    };
     
    17561740    {
    17571741        GCTLCMD_COMMON_OPTION_DEFS()
    1758         { "--dryrun",              GETOPTDEF_COPY_DRYRUN,           RTGETOPT_REQ_NOTHING },
    17591742        { "--follow",              GETOPTDEF_COPY_FOLLOW,           RTGETOPT_REQ_NOTHING },
    17601743        { "--recursive",           'R',                             RTGETOPT_REQ_NOTHING },
     
    17681751
    17691752    const char *pszDst = NULL;
    1770     bool fDryRun = false;
    17711753    bool fFollow = false;
    17721754    bool fRecursive = false;
     
    17821764        {
    17831765            GCTLCMD_COMMON_OPTION_CASES(pCtx, ch, &ValueUnion);
    1784 
    1785             case GETOPTDEF_COPY_DRYRUN:
    1786                 fDryRun = true;
    1787                 break;
    17881766
    17891767            case GETOPTDEF_COPY_FOLLOW:
     
    18431821        else
    18441822            RTPrintf("Copying from guest to host ...\n");
    1845         if (fDryRun)
    1846             RTPrintf("Dry run - no files copied!\n");
    18471823    }
    18481824
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette