1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="files-rename" xml:lang="cs">
5
<link type="guide" xref="files"/>
6
<desc>Change file or folder name.</desc>
8
<revision pkgversion="3.5.92" version="0.2" date="2012-09-19" status="review"/>
10
<credit type="author">
11
<name>GNOME Documentation Project</name>
12
<email>gnome-doc-list@gnome.org</email>
14
<credit type="author">
15
<name>Shaun McCance</name>
16
<email>shaunm@gnome.org</email>
18
<credit type="author">
19
<name>Jim Campbell</name>
20
<email>jwcampbell@gmail.com</email>
22
<credit type="editor">
23
<name>Michael Hill</name>
24
<email>mdhillca@gmail.com</email>
26
<include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
28
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
29
<mal:name>Adam Matoušek</mal:name>
30
<mal:email>adamatousek@gmail.com</mal:email>
31
<mal:years>2012</mal:years>
35
<title>Rename a file or folder</title>
37
<p>As with other file managers, you can use the GNOME file manager to change
38
the name of a file or folder.</p>
40
<title>To rename a file or folder:</title>
41
<item><p>Right-click on the item and select <gui>Rename</gui>, or select
42
the file and press <key>F2</key>.</p></item>
43
<item><p>Type the new name and press <key>Enter</key>.</p></item>
46
<p>You can also rename a file from the
47
<link xref="nautilus-file-properties-basic">properties</link> window.</p>
49
<p>When you rename a file, only the first part of the name of the file is
50
selected, not the file extension (the part after the "."). The extension
51
normally denotes what type of file it is (e.g. <file>file.pdf</file> is a PDF
52
document), and you usually do not want to change that. If you need to change
53
the extension as well, select the entire file name and change it.</p>
56
<p>If you renamed the wrong file, or named your file improperly, you can
57
undo the rename. To revert the action, immediately click the gear button in
58
the toolbar and select <gui>Undo</gui> to restore the former name.</p>
61
<section id="valid-chars">
62
<title>Valid characters for file names</title>
63
<p>You can use any character except the <key>/</key> (slash) character in
64
file names. Some devices, however, use a <em>file system</em> that has more
65
restrictions on file names. Therefore, it is a best practice to avoid the
66
following characters in your file names: <key>|</key>, <key>\</key>,
67
<key>?</key>, <key>*</key>, <key><</key>, <key>"</key>, <key>:</key>,
68
<key>></key>, <key>/</key>.</p>
70
<note style="warning">
71
<p> If you name a file with a <key>.</key> as the first character, the file
72
will be <link xref="files-hidden">hidden</link> when you attempt to view
73
it in the file manager.</p>
77
<section id="common-probs">
78
<title>Common problems</title>
81
<title>The file name is already in use</title>
82
<p>You can't have two files or folders with the same name in the same
83
folder. If you try to rename a file to a name that already exists in
84
the folder you are working in, the file manager will not allow it.</p>
85
<p>File and folder names are case sensitive, so the file name
86
<file>File.txt</file> is not the same as <file>FILE.txt</file>.
87
Using different file names like this is allowed, though it is not
91
<title>The file name is too long</title>
92
<p>On some file systems, file names can have no more than 255
93
characters in their names. This 255 character limit includes both the
94
file name and the path to the file (e.g., <file>/home/wanda/Documents/work/business-proposals/…
95
</file>), so you should avoid long file and folder names where
99
<title>The option to rename is grayed out</title>
100
<p>If <gui>Rename</gui> is grayed out, you do not have permission to
101
rename the file. You should use caution with renaming such files, as
102
renaming some protected files may cause your system to become unstable.
103
See <link xref="nautilus-file-properties-permissions"/> for more