1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>高级内容</title><link rel="stylesheet" href="../thunar.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Thunar 文件管理器"><link rel="up" href="index.html" title="Thunar 文件管理器"><link rel="prev" href="customizing-thunar.html" title="自定义 Thunar"><link rel="next" href="faq.html" title="常见问题"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">高级内容</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="customizing-thunar.html">上一页</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="faq.html">下一页</a></td></tr></table><hr></div><div class="sect1" title="高级内容"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="advanced-topics"></a>高级内容</h2></div></div></div><div class="sect2" title="对文件进行批量重命名"><div class="titlepage"><div><div><h3 class="title"><a name="to-bulk-rename-files"></a>对文件进行批量重命名</h3></div></div></div><p>
2
To <span class="emphasis"><em>bulk rename</em></span> files means to rename multiple files at once using some criterion, that applies to atleast
3
one of the files. <strong class="application"><code>Thunar</code></strong> includes a bulk renamer, which can be run separately using the command
4
<span class="command"><strong>Thunar -B</strong></span> or from within <strong class="application"><code>Thunar</code></strong> by selecting two or more files in the main area
5
and pressing <span class="keycap"><strong>F2</strong></span> or choosing
6
<span class="guimenu"><strong>Edit</strong></span> → <span class="guimenuitem"><strong>Rename...</strong></span> from the main menu.
7
</p><div class="screenshot"><div class="mediaobject"><img src="images/bulk-rename.png" alt="批量重命名文件"></div></div><p>
8
The <span class="emphasis"><em>Bulk Renamers</em></span> can be applied to the name of the files, the suffix of the files or both to the
9
name and the suffix of the files. <strong class="application"><code>Thunar</code></strong> currently supports the following <span class="emphasis"><em>Bulk
11
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>删除字符。</p></li><li class="listitem"><p>文件计数。</p></li><li class="listitem"><p>插入日期或时间。</p></li><li class="listitem"><p>插入或改写字符。</p></li><li class="listitem"><p>搜索与替换字符。</p></li><li class="listitem"><p>Convert to uppercase, lowercase or camlcase.</p></li></ul></div><p>
12
Additional <span class="emphasis"><em>Bulk Renamers</em></span> may be installed as plugins for <strong class="application"><code>Thunar</code></strong>. Check
13
the <a class="ulink" href="http://thunar.xfce.org/plugins.html" target="_top">Thunar Plugins</a> website for currently available
14
extensions. The <a class="ulink" href="http://thunar.xfce.org/pwiki/documentation/bulk_renamer" target="_top">Thunar Project Wiki</a>
15
contains further details about this feature. Feel free to add more information to the Wiki.
16
</p></div><div class="sect2" title="UNIX 文件系统"><div class="titlepage"><div><div><h3 class="title"><a name="the-unix-file-system"></a>UNIX 文件系统</h3></div></div></div><p>
17
While the Thunar file manager does a good job at abstracting the details of the underlying file system, so the user
18
does not need to care about them, it is sometimes useful to understand the basic concepts to get the whole picture.
19
This section tries to give a brief introduction to the concepts of the UNIX file system, which is used today by all
20
incarnations of UNIX, including Linux.
21
</p><div class="sect3" title="文件夹和路径"><div class="titlepage"><div><div><h4 class="title"><a name="folders-and-paths"></a>文件夹和路径</h4></div></div></div><p>
22
In a UNIX file system all folders are arranged in a simple inverted tree structure descending and branching down
23
from a single top level folder, which is called the <span class="emphasis"><em>root directory</em></span> (the term
24
<span class="emphasis"><em>directory</em></span> is often used instead of <span class="emphasis"><em>folder</em></span>) and displayed as
25
<span class="guilabel"><strong>File System</strong></span> in Thunar. This means that you can get from any folder to any other by going
26
up the tree until you reach a common point, then down the tree through the appropriate subfolders until you reach
29
The position of any file or folder in the tree can be described by its <span class="emphasis"><em>path</em></span>. The path is the
30
list of folders you would have to descend through to get to the target folder or file, starting from the top level
31
folder. For example <code class="filename">/home/luke</code> is the subfolder <code class="filename">luke</code> of the subfolder <code class="filename">home</code> of the top level folder,
32
and <code class="filename">/home/luke/myfile.txt</code> is the file <code class="filename">myfile.txt</code> in that subfolder. The
33
leading <code class="filename">/</code> in these paths represents the top level folder.
35
Every user has their own folder to hold their personal files and settings. This folder is called the <span class="emphasis"><em>home
36
directory</em></span> and is displayed in Thunar as special icon with the users login name. The folder is similar to
37
the <span class="guilabel"><strong>My Files</strong></span> folder known from Windows. The <span class="emphasis"><em>home directories</em></span> of the various
38
users in a system are usually located below the <code class="filename">/home</code> folder. For example
39
<code class="filename">/home/luke</code> would be the home directory of the user with the login name
40
<code class="filename">luke</code>, while <code class="filename">/home/jane</code> would be
41
the home directory for the user with the login name <code class="filename">jane</code>.
42
</p></div><div class="sect3" title="文件类型"><div class="titlepage"><div><div><h4 class="title"><a name="file-types"></a>文件类型</h4></div></div></div><p>
43
You may have already heard that everything is a file in UNIX. This is true for most objects present in UNIX systems
44
today. In fact even devices are represented as a special files. While this may not make sense at first sight, it is
45
one of the strengths of UNIX and its derivates, and has helped it to maintain a simple core over the years where other
46
operating systems had to introduce new concepts for every new technology.
47
</p><p>UNIX 文件系统之中有四种重要的文件类型。</p><div class="sect4" title="普通文件"><div class="titlepage"><div><div><h5 class="title"><a name="file-types-ordinary-files"></a>普通文件</h5></div></div></div><p>一个普通文件可能包含文本、一个程序或者其他数据,包括图像文件、音频文件、办公文档和视频文件等等。术语 <span class="emphasis"><em>file</em></span> 常用以指代一个普通文件。</p></div><div class="sect4" title="文件夹文件"><div class="titlepage"><div><div><h5 class="title"><a name="file-types-folder-files"></a>文件夹文件</h5></div></div></div><p>文件夹在 UNIX 文件系统中同样被认为是文件。准确地说,一个文件夹是一个包含文件夹中存放的每个文件的文件名和文件内容的对应关系的特殊文件。</p></div><div class="sect4" title="符号链接文件"><div class="titlepage"><div><div><h5 class="title"><a name="file-types-symbolic-link-files"></a>符号链接文件</h5></div></div></div><p>一个符号链接 (通常称作一个 <span class="emphasis"><em>symlink</em></span>) 是一个包含有指向文件系统中另一个文件路径的特殊文件。符号链接文件自身并不包含任何有用信息,而只是指向其他文件。</p></div><div class="sect4" title="设备文件"><div class="titlepage"><div><div><h5 class="title"><a name="file-types-device-files"></a>设备文件</h5></div></div></div><p>如前所述,(大多数) 设备可以通过文件系统来访问。这些特殊的设备文件通常位于 <code class="filename">/dev</code> 文件夹。例如,文件 <code class="filename">/dev/hda</code> 在 Linux 中表示第一块 IDE 硬盘。</p></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="customizing-thunar.html">上一页</a>�</td><td width="20%" align="center">�</td><td width="40%" align="right">�<a accesskey="n" href="faq.html">下一页</a></td></tr><tr><td width="40%" align="left" valign="top">自定义 Thunar�</td><td width="20%" align="center"><a accesskey="h" href="index.html">起始页</a></td><td width="40%" align="right" valign="top">�常见问题</td></tr></table></div></body></html>