1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="files-select">
4
<link type="guide" xref="files#faq"/>
5
<revision pkgversion="3.0" date="2011-03-29" status="final"/>
6
<revision pkgversion="3.0" version="3.0.1" date="2011-04-06" status="outdated"/>
9
<name>Shaun McCance</name>
10
<email>shaunm@gnome.org</email>
13
<desc>Press <keyseq><key>Ctrl</key><key>S</key></keyseq> to select multiple files which have similar names.</desc>
14
<include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
17
<title>Select files by pattern</title>
19
<p>You can select files in a folder using a pattern on the file name.
20
Press <keyseq><key>Ctrl</key><key>S</key></keyseq> to bring up the
21
<gui>Select Items Matching</gui> window. Type in a pattern using
22
common parts of the file names plus wild card characters. There are
23
two wild card characters available:</p>
25
<list style="compact">
26
<item><p><file>*</file> matches any number of any characters, even
27
no characters at all.</p></item>
28
<item><p><file>?</file> matches exactly one of any character.</p></item>
34
<item><p>If you have an OpenDocument Text file, a PDF file, and an
35
image that all have the same base name <file>Invoice</file>, select
36
all three with the pattern</p>
37
<example><p><file>Invoice.*</file></p></example></item>
39
<item><p>If you have some photos that are named like <file>Vacation-001.jpg</file>,
40
<file>Vacation-002.jpg</file>, <file>Vacation-003.jpg</file>; select them all
42
<example><p><file>Vacation-???.jpg</file></p></example></item>
44
<item><p>If you have photos as before, but you've edited some of them and
45
added <file>-edited</file> to the end of the file name of the photos you've
46
edited, select the edited photos with</p>
47
<example><p><file>Vacation-???-edited.jpg</file></p></example></item>