最后,您还可以通过扩展这个命令的后半部分(请参见清单10),创建一个新的目录作为复制这些文件的目标。
Finally, you can also create a new directory for the files to be copied into, by extending the second half of the command (see Listing 10).
上面的命令存在一定的局限,它只能复制那些显式列出的文件。
The above command is limited, in that it will only copy in files that are explicitly listed.
例如,您可以使用清单4中的命令,将当前目录中的文件复制到磁带上。
For example, you might copy the files in the current directory to a tape using the command in Listing 4.
如果再次运行该命令,只有更改后的文件被复制,为您节省了稍后的同步时间。
If you run it again, only the changed files are copied over, saving you time later on synchronizations.
安装复制命令和文档,但配置文件需要针对每个系统分别设置。
The installation copies over the commands and documentation. The configuration file needs to be setup uniquely for each system.
在将omega命令复制到CGI目录后,可以创建一个本地配置文件,名为omega . conf。
If you have copied the omega command into your CGI directory, create a local configuration file called omega.conf.
如果您有要求来自stdin的输出的过滤器,那么可以考虑使用cat命令将文件复制到 stdout。
If you do have a filter that requires input from stdin, you might think of using the cat command to copy the file to stdout, which would work.
在辅助系统上,复制文件或挂载磁带(由LTAPE dev指定),并用以下命令执行物理恢复。
On the secondary system, copy the files or mount the tape (as assigned by LTAPEDEV) and perform a physical restore with the following command.
通过SCP命令将文件从本地服务器复制到远程主机。
Copying files from a local server to a remote host by way of the SCP command.
然后,将清单1中的内容复制到窗口运行命令,这将创建 lpi103-7子目录以及您将使用的文件。
Then copy the contents of Listing 1 into the window to run the commands that will create the lpi103-7 subdirectory and the files you will use.
这个命令的ls部分输出将要复制的文件列表(在本示例中是两个目录中的内容)。
The ls portion of this command outputs a list of the files (in this case, the contents of the two directories) to be copied.
这个命令将当前工作目录中所有的文本文件复制到您在名为destination 的计算机上的home 目录中。
This command copies all text files in the current working directory to your home directory on the machine named destination.
注意:我无法从eclipse菜单直接保存密钥,只能从命令行复制文件。
Note: I couldn't save the key from the Eclipse menu directly and had to copy the files from the command line after the fact.
rb命令将 /var/uploads目录递归复制到备份bucket 中,用当前日期作为所有文件的前缀。
The s3sync.rb command recursively copies the /var/uploads directory into the backup bucket, prefixing all the files with the current date.
现在所需要做的就是将相关文件复制到initrd映像中(可以使用mount- oloop命令安装未压缩的映像)。
All we now need to do is copy the relevant files into the initrd image (you can mount the uncompressed image using the mount -o loop command).
此外,迁移命令mqsimigratecomponents将来自V6.0或V6.1系统数据库的配置复制到本地文件系统中。
Additionally, the migration command mqsimigratecomponents copies a configuration from the V6.0 or V6.1 system database onto the local file system.
位交换加载库;将 /opt/IBM/mqsi/6.0/sample/xatm/db2swit64复制到 /var/mqm/exits64/db2swit(此命令还将重命名文件,以在安装到 exits64时删除 64)。
64-bit switch load library: Copy /opt/IBM/mqsi/6.0/sample/xatm/db2swit64 to /var/mqm/exits64/db2swit (This command also renames the file to remove the 64 when installed to exits64.)
在准备迁移时,您目前为止所了解的有关挂载文件系统的命令还有助于将文件从一台服务器复制到另一个服务器。
The commands you have learned so far about mounting file systems will also be helpful in copying files from one server to another in preparation for a migration.
有文件管理器,你可以将一个文件从一个目录拖到另外一个目录下,剪切和复制文件,删除文件等- - - - -那么,为什么还用用这些古老的命令行程序呢?
With a file manager, you can drag and drop a file from one directory to another, cut and paste files, delete files, etc. So why use these old command line programs?
无论使用哪一种解决方案,您将在每个文件复制到/复制出存档文件时获得相应的报告,假设您使用了v命令行选项(请参见清单8)。
Whichever solution you use, you should get a report as each file is copied into, or out of, the archive, providing you use the v command-line option (see Listing 8).
仔细看一下清单3,它使用date命令作为已复制的stream . out文件的文件名的一部分来指定新文件名。
Looking more closely at Listing 3, a new filename is specified using the date command as part of its name for the copied stream.out file.
尽管cp命令并不是真正的同步命令,但它可能是在两个位置之间复制文件的最简单方法。
Although the cp command is not a true synchronizing command, it is probably the easiest method of copying files from one location to another.
通常在系统中复制和重新创建非标准的文件类型时,tar命令更加可靠,因为cp命令不支持- r命令行选项。
The tar command is also generally more reliable at copying and recreating non-standard file types on systems, as the cp command does not support the -r command-line option.
在清单17中,我们首先将text1复制到“text1”,然后显示一些在xargs命令中使用包含空格的文件名列表的方法。
In Listing 17 we first copy text1 to "text 1" and then show some ways of using a list of file names containing blanks with xargs.
YUICompressor的JAR文件是自带的,您可以将该文件复制到别的项目,通过输入以下命令来执行
The JAR file for YUI Compressor is self-contained, so you can copy the file into a different project and execute it by typing the following command
将AIX模式文件aixSchemaForAD.ldif 复制到WindowsActiveDirectory服务器,并且运行下面的命令将该模式加载到AD 服务器中。
Copy the AIX Schema file, aixSchemaForAD.ldif, to the Windows Active Directory server and run the followiing command to load the schema to the AD server.
前面的命令把本地文件 /etc/hosts 复制到 servers.txt中列出的每台计算机上的 /tmp/hosts。
The previous command copies the local file /etc/hosts to /tmp/hosts on each machine listed in servers.txt.
如果希望将数据从本地主机上的 /opt/pluto 复制到远程主机nordkapp 上的文件系统 /opt/pluto,则可以使用以下命令
Assume we wish to copy data from /opt/pluto on the local host to the remote host nordkapp filesystem /opt/pluto, I could use
如果ClearQuest查询包含了命令行,那么您必须执行查看声明的前述步骤:将原始的查询复制到临时的文件夹之中,并使用动态的查询来替代动态的筛选。
If the ClearQuest query contains prompts, you must perform a preliminary step to view the statement: Copy the original query to a temporary folder, and replace the dynamic filter with a static filter.
如果ClearQuest查询包含了命令行,那么您必须执行查看声明的前述步骤:将原始的查询复制到临时的文件夹之中,并使用动态的查询来替代动态的筛选。
If the ClearQuest query contains prompts, you must perform a preliminary step to view the statement: Copy the original query to a temporary folder, and replace the dynamic filter with a static filter.
应用推荐