File: files-select.page

package info (click to toggle)
gnome-user-docs 48.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 142,176 kB
  • sloc: xml: 829; makefile: 532; sh: 514
file content (60 lines) | stat: -rw-r--r-- 2,619 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="files-select" xml:lang="zh-CN">

  <info>
    <link type="guide" xref="files#faq"/>

    <credit type="author">
      <name>Shaun McCance</name>
      <email>shaunm@gnome.org</email>
    </credit>

    <revision pkgversion="3.6.0" version="0.2" date="2012-09-28" status="review"/>
    <revision pkgversion="3.13.92" date="2014-09-22" status="candidate"/>

    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <desc>按 <keyseq><key>Ctrl</key><key>S</key></keyseq> 选择多个相似名称的文件。</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>TeliuTe</mal:name>
      <mal:email>teliute@163.com</mal:email>
      <mal:years>2011, 2012</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>tuberry</mal:name>
      <mal:email>orzun@foxmail.com</mal:email>
      <mal:years>2021</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Victor_Trista</mal:name>
      <mal:email>ljlzjzm@hotmail.com</mal:email>
      <mal:years>2023</mal:years>
    </mal:credit>
  </info>

  <title>用通配符选择多个文件</title>

  <p>您可以在文件名中使用通配符来选择多个文件,按 <keyseq><key>Ctrl</key><key>S</key></keyseq> 打开<gui>选择匹配的项目</gui>对话框,输入一个通配符作为文件名的一部分,有两个可用的通配字符:</p>

  <list style="compact">
    <item><p><file>*</file> 可以匹配任何数量的任何字符,甚至没有字符。</p></item>
    <item><p><file>?</file> 匹配一个字符。</p></item>
  </list>

  <p>例如:</p>

  <list>
    <item><p>如果您有一个 ODT 文件,一个 PDF 文件,和一个图片文件,它们的基本名相同都是 <file>Invoice</file>,用符来选中它们</p>
    <example><p><file>Invoice.*</file></p></example></item>

    <item><p>如果您有一些照片文件名是 <file>Vacation-001.jpg</file>、<file>Vacation-002.jpg</file>、<file>Vacation-003.jpg</file>,用通配符选中它们</p>
    <example><p><file>Vacation-???.jpg</file></p></example></item>

    <item><p>如果您有上面的照片,但编辑了其中一些,并在其文件名末尾添加了 <file>-edited</file>,请用以下方法选择已编辑的照片</p>
    <example><p><file>Vacation-???-edited.jpg</file></p></example></item>
  </list>

</page>