最后,您还可以通过扩展这个命令的后半部分(请参见清单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).
例如,您可以使用清单4中的命令,将当前目录中的文件复制到磁带上。
For example, you might copy the files in the current directory to a tape using the command in Listing 4.
当系统离线时,可以使用操作系统命令复制整个数据库目录。
The entire database directory can be copied when the system is offline using operating system commands.
要复制整个目录,最好的方法是使用find命令(请参见清单12)。
The best way to copy in an entire directory is to use the find command (see Listing 12).
在将omega命令复制到CGI目录后,可以创建一个本地配置文件,名为omega . conf。
If you have copied the omega command into your CGI directory, create a local configuration file called omega.conf.
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.
如果您使用-r命令行选项递归到其子目录中,标准的cp命令可用于复制整个目录树。
The standard cp command is capable of copying entire directory trees if you use the -r command-line option to recurse into subdirectories.
这个命令的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.
有文件管理器,你可以将一个文件从一个目录拖到另外一个目录下,剪切和复制文件,删除文件等- - - - -那么,为什么还用用这些古老的命令行程序呢?
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?
继续之前,使用鼠标选择并复制上一条命令显示的目录。
Before you continue, use your mouse to select and copy the directory that the last command showed.
要部署reallybigpet. war文档,首先将Web应用程序复制到geronimo主目录中,然后使用以下命令。
To deploy the reallybigpet.war archive, first copy the Web application to the Geronimo home directory, and then issue the 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.
清单1. cp命令—将一个目录复制到具有不同名称的新目录。
Listing 1. cp command — copying one directory to a new directory with a different name.
为了使用它,需要将omega命令复制到配置好的CGI - BIN目录,或是其他配置好且能支持cgi脚本的目录。
To use it, you need to copy the omega command into your configured CGI-BIN directory, or into any directory configured to support CGI scripts.
例如,如果使用rsync,您可以使用以下命令,该命令将除hostkeys目录之外的所有内容复制到新机器上,如清单4所示。
For example, using rsync you could use the following command, which copies everything except the hostkeys directory to the new machine as shown in Listing 4.
前面的命令将 /path/to/lots/of/stuff目录递归地复制到您的当前目录,并保持其原始的时间和日期戳。
The former command recursively copies the /path/to/lots/of/stuff directory to your current directory, preserving the original time and date stamps.
这个命令将当前工作目录中所有的文本文件复制到您在名为destination 的计算机上的home 目录中。
This command copies all text files in the current working directory to your home directory on the machine named destination.
从CL命令行运行以下命令,这会将使用所生成的存根代码的样例RPG代码从产品样例目录复制到当前工作目录。
Copy the sample RPG code the USES the generated stub code from the product samples directory to the current working directory by issuing the following command from the CL command line.
这个命令将 ~/myproject目录复制到 web.example.com。
This command copies the ~/myproject directory to web.example.com.
使用命令列编译器时,您可以只要将金钥复制到含有您的程式模组的目前目录即可。
When using command-line compilers, you can simply copy the key to the current directory containing your code modules.
使用命令列编译器时,您可以只要将金钥复制到含有您的程式模组的目前目录即可。
When using command-line compilers, you can simply copy the key to the current directory containing your code modules.
应用推荐