清单5:扫描目标目录。
在Stow术语中,该缺省位置称为目标目录。
This default location is called the target directory in Stow terminology.
选择要导出的目标目录名称并选取复选框以包含源代码。
Choose the name of the directory to export to and check the box to include your source.
要切换到另一个目录,命令格式为:cd +空格+目标目录。
To change to another directory, use CD followed by a space, and then the directory you want to go to.
进入导出脚本的目标目录,建立到适当数据库服务器的连接。
Change to the directory to where you exported the script and establish a connection to the appropriate database server.
改变到新的目标目录并确认位于正确的位置(请参见清单3)。
Change to the new target directory and confirm that you are in the right place (see Listing 3).
delete——从目标目录中删除源目录中不再存在的文件。
Delete — delete files that don't exist in the source anymore in the destination directory.
您选择的目标目录将成为模拟的UNIX环境的根目录 /。
The target directory, whatever you choose, becomes the root directory—the /—of your emulated UNIX environment.
该脚本所做的第一项工作是,创建一个目标目录,以保存新的虚拟机。
The first thing the script does is create a target directory to hold the new virtual machine.
通过使用——delete选项,目标目录会与原目录保持完全一致。
By using the — delete option, the destination directory will be exactly like the original one.
这让人觉得应用程序本身被安装在目标目录中并且是从该目录中运行的。
This gives the impression of the application itself being installed in and run from the target directory itself.
stow目录中的应用程序目录树应该与目标目录中所期望的树一样。
An application's package directory tree inside the stow directory should be the same as the desired tree inside the target directory.
然后,我们创建入站服务,将出站服务目的地作为入站服务的目标目的地。
We then create the inbound service, identifying the outbound service destination as the target destination for the inbound service.
它将Schema文档作为输入,将文件生成到指定的输出包和目标目录。
It takes a Schema document as input, generating files to a specified output package and destination directory.
publish :指向发布或目标目录(缺省值: publish )
publish: Points to the publishing or target directory (default: publish)
指定要安装的PEAR文件并提供一个目标目录,然后单击Install。
Specify the PEAR file to be installed and provide a destination directory, then click on install.
opath—设置用于输出类和文件的目标目录(缺省输出到工作目录)。
O path - Sets the target directory for output classes and files (defaults to working directory).
对于每个修改过的文件,读取参照版本并在加密目标目录中创建加密版本(见清单7)。
For each file that has changed, the encrypted version is created by reading the reference version and creating the encrypted version within the encrypted destination directory (see Listing 7).
别名目的地还可以用于覆盖在目标目的地中指定的某些值,如缺省可靠性和最大可靠性。
An alias destination can also be used to override some of the values specified on the target destination, such as default reliability and maximum reliability.
参数值为true时,调试模式只会尝试重新创建目标目录结构,但不会复制任何文档。
When equal to true, debug mode only attempts to recreate the target directory structure, but won't copy any documents.
但是,如果目标目录已经存在,就会在目标目录b中创建一个新目录a,其中包含文件的拷贝。
However, if the destination directory already exists, then a new directory, a, within the destination directory, b, will be created containing a copy of the files.
指定一个源目录和一个目标目录,写到源目录中的所有文件就会自动地加密并保存到目标目录中。
Given a source directory and a target directory, all files written to the source directory are automatically encrypted and saved to the target directory.
hard - links——保留硬链接(在目标目录中创建硬链接),而不是复制文件内容。
Hard-links — Preserve hard links (by creating a hard link on the destination) instead of copying the file content.
每个流定义了一组源目的地(例如,一组主题和队列)和一个目标目的地(消息将发往该目的地)。
Each flow defines a set of source destinations (for example, a set of topics and queues) and a target destination to which the messages are to be delivered.
它对源和目标目录执行许多检查和比较,可以实现高效的同步,甚至可以通过网络或公共连接执行同步。
It performs extensive checks and comparisons that truly compare the source and destination directories and allow for synchronizations efficiently, even over a network or public connection.
如果原目录中有符号链接,——links选项(或- l)会在目标目录中重新创建这些符号链接。
If there are symlinks in your original directory, the — links option (also -l) recreates those symlinks in the destination directory.
rsync工具能够解决这个问题。它会比较目录结构和各个文件,判断源目录和目标目录之间的差异。
The rsync tool addresses this issue by comparing the directory structure and the individual files and determining where the differences between the source and destination directories are located.
应用程序相应的符号链接(位于应用程序目标目录中)指向stow目录中应用程序的实际位置(其软件包目录)。
An application's corresponding symlinks, situated inside the application's target directory, point to the actual location of the application (its package directory) inside the stow directory.
清单3中的DirectoryWalker主要是将XML文件从源目录(包括其子目录中的文件)复制到目标目录。
DirectoryWalker in Listing 3 essentially copies XML files from the source directory (including files in its subdirectories) to the target directory.
清单3中的DirectoryWalker主要是将XML文件从源目录(包括其子目录中的文件)复制到目标目录。
DirectoryWalker in Listing 3 essentially copies XML files from the source directory (including files in its subdirectories) to the target directory.
应用推荐