这种方法类似于从一个目录复制文件到另一个目录。
This method is very similar to copying a file from one directory to another directory.
要将文件从现有的目录复制到新的位置,请执行以下步骤。
To copy the files from an existing directory to the new location, follow these steps.
将文件从旧的目录复制到当前(新的)目录,如清单4所示。
Copy the files from the old directory to the current (new) directory, as shown in Listing 4.
例如,如果要把多个目录复制到备份目录,就会像清单2这样做。
For example, if you are copying multiple directories to a backup directory, Listing 2 will do what you want.
例如,清单5显示了如何将文件从当前目录复制到一个已有的目录。
For example, Listing 5 shows how to copy the files from the current directory to an existing directory.
清单1. cp命令—将一个目录复制到具有不同名称的新目录。
Listing 1. cp command — copying one directory to a new directory with a different name.
把整个admin目录复制到Apache文档根目录下。
Copy the entire admin directory to your Apache document root.
将第一张安装CD上的所有文件和目录复制到此临时目录的disk1子目录下。
Copy all the files and directories on the first installation CD to the disk1 subdirectory in the temporary directory.
Rsync:这是一种目录同步工具,可以在本地和远程系统之间进行目录复制。
Rsync: This tool is a directory synchronization that copies directories between local and remote systems.
move,正如您猜测的那样,它将一个文件从源目录复制到目标目录。
Move , which, as you would have guessed, copies a file from the source to the target directory.
如果V 6部署管理器配置文件在新的系统上,则需要将备份目录复制到该新的系统。
If the V6 deployment manager profile is on a new system, the backup directory will need to be copied to this new system.
在主机private2 上,从生成的目录复制 private2 主机密匙。
On the host that will be private2, copy the private2 hostkey from the generated directory.
您然后应该将该子目录复制到portlet外部的某个区域,以进行备份。
You should then copy that subdirectory to an area outside the portlet as a backup.
所以,将本地doc目录复制到远程目录中,而不是覆盖远程目录的内容。
So, instead of overwriting the contents of the remote directory, the local doc directory is copied into the remote directory.
在查明哪些文件和目录已经修改了之后,它只把这些文件和目录复制到目标位置。
Once it is clear which files and directories have changed, it then copies only those items to the destination.
同时使用这两个选项,您可以将文件从一个目录复制到另一个目录,如清单13所示。
By using the two together, you can copy from one directory to another, as shown in Listing 13.
虽然内容和结构均非常复杂,但可以将这个目录复制到配置好了的模板目录以便对其有些概念。
The contents and structure are quite complicated, but you can copy this directory to your configured templates directory to get an idea of what is possible.
这个命令将 ~/myproject目录复制到 web.example.com。
This command copies the ~/myproject directory to web.example.com.
例如,如果您希望在本地计算机中将一些文件和目录复制到另一个目录,您可以运行与清单2中所示类似的代码。
For example, if you wanted to copy some files and directories to another directory on your local machine, you'd run something like the code shown in Listing 2.
因为我们亲自导出了插件,所以需要从我们的Eclipse安装目录复制startup . jar以及基础插件。
Since we are manually exported the plug-in, we need to copy the startup.jar and the base plug-ins from our Eclipse install.
在系统之间进行目录复制的另一种方法是,使用清单16中所示的管道解决方案,但需要使用远程Shell工具作为目标。
Another alternative for copying directories between systems is to use the pipe solution shown in Listing 16, but then use a remote shell tool as the destination.
记住,您只需从etc/gvpe目录复制gvpe.conf 文件、if-up 脚本和公共密匙目录(pubkey)。
Remember that you only need to copy the gvpe.conf, if-up, and the public keys directory (pubkey) from the etc/gvpe directory.
您仍要在该页面上处理portlet内容,所以请从 ..\skins\html目录复制Control.jsp 后再修改它。
You still want the portlet contents to be rendered on the page, so copy Control.jsp from the ..\skins\html directory before modifying it.
将所示配置文件从blazeds \ WEB -INF \flex目录复制到此应用程序的WEB - INF \ flex目录下。
Copy all configuration files from the blazeds \ WEB-INF \ flex directory to the WEB-INF \ flex directory of this application.
将它重命名为makefile,并从 sqllib\samples\security\plugins目录复制bldplugin.bat。
Rename it as makefile, and copy in bldplugin.bat from sqllib\samples\security\plugins directory.
将所有文件和目录从webtier \ web -INF \flex目录复制到portlet项目对应的web - INF \ flex目录下。
Copy all files and directories from the webtier \ WEB-INF \ flex directory to the corresponding WEB-INF \ flex directory of the portlet project.
然后,将新图像复制到该目录。
将属性复制到目的目录。
将属性复制到目的目录。
应用推荐