Blame gnome-help/da/files-rename.page

Packit Bot 4b9ea4
Packit Bot 4b9ea4
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="files-rename" xml:lang="da">
Packit Bot 4b9ea4
Packit Bot 4b9ea4
  <info>
Packit Bot 4b9ea4
    <link type="guide" xref="files#common-file-tasks"/>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
    <revision pkgversion="3.5.92" version="0.2" date="2012-09-19" status="review"/>
Packit Bot 4b9ea4
    <revision pkgversion="3.13.92" date="2014-09-22" status="review"/>
Packit Bot 4b9ea4
    <revision pkgversion="3.18" date="2015-09-29" status="final"/>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
    <credit type="author">
Packit Bot 4b9ea4
      <name>GNOME Documentation Project</name>
Packit Bot 4b9ea4
      <email>gnome-doc-list@gnome.org</email>
Packit Bot 4b9ea4
    </credit>
Packit Bot 4b9ea4
    <credit type="author">
Packit Bot 4b9ea4
      <name>Shaun McCance</name>
Packit Bot 4b9ea4
      <email>shaunm@gnome.org</email>
Packit Bot 4b9ea4
    </credit>
Packit Bot 4b9ea4
    <credit type="author">
Packit Bot 4b9ea4
      <name>Jim Campbell</name>
Packit Bot 4b9ea4
      <email>jwcampbell@gmail.com</email>
Packit Bot 4b9ea4
    </credit>
Packit Bot 4b9ea4
    <credit type="editor">
Packit Bot 4b9ea4
      <name>Michael Hill</name>
Packit Bot 4b9ea4
      <email>mdhillca@gmail.com</email>
Packit Bot 4b9ea4
    </credit>
Packit Bot 4b9ea4
    <credit type="editor">
Packit Bot 4b9ea4
      <name>David King</name>
Packit Bot 4b9ea4
      <email>amigadave@amigadave.com</email>
Packit Bot 4b9ea4
    </credit>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
    <desc>Change file or folder name.</desc>
Packit Bot 4b9ea4
  </info>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
  <title>Rename a file or folder</title>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
  

As with other file managers, you can use <app>Files</app> to change the

Packit Bot 4b9ea4
  name of a file or folder.

Packit Bot 4b9ea4
Packit Bot 4b9ea4
  <steps>
Packit Bot 4b9ea4
    <title>To rename a file or folder:</title>
Packit Bot 4b9ea4
    <item>

Højreklik på elementet og vælg <gui>Omdøb</gui>, eller vælg filen og tryk på <key>F2</key>.

</item>
Packit Bot 4b9ea4
    <item>

Skriv det nye navn og tryk på <key>Enter</key> eller klik på <gui>Omdøb</gui>.

</item>
Packit Bot 4b9ea4
  </steps>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
  

You can also rename a file from the

Packit Bot 4b9ea4
  <link xref="nautilus-file-properties-basic">properties</link> window.

Packit Bot 4b9ea4
Packit Bot 4b9ea4
  

When you rename a file, only the first part of the name of the file is

Packit Bot 4b9ea4
  selected, not the file extension (the part after the last <file>.</file>).
Packit Bot 4b9ea4
  The extension normally denotes what type of file it is (for example,
Packit Bot 4b9ea4
  <file>file.pdf</file> is a PDF document), and you usually do not want to
Packit Bot 4b9ea4
  change that. If you need to change the extension as well, select the entire
Packit Bot 4b9ea4
  file name and change it.

Packit Bot 4b9ea4
Packit Bot 4b9ea4
  <note style="tip">
Packit Bot 4b9ea4
    

If you renamed the wrong file, or named your file improperly, you can

Packit Bot 4b9ea4
    undo the rename. To revert the action, immediately click the menu button in
Packit Bot 4b9ea4
    the toolbar and select <gui>Undo Rename</gui>, or press
Packit Bot 4b9ea4
    <keyseq><key>Ctrl</key><key>Z</key></keyseq>, to restore the former
Packit Bot 4b9ea4
    name.

Packit Bot 4b9ea4
  </note>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
  <section id="valid-chars">
Packit Bot 4b9ea4
    <title>Valid characters for file names</title>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
    

You can use any character except the <file>/</file> (slash) character in

Packit Bot 4b9ea4
    file names. Some devices, however, use a file system that has more
Packit Bot 4b9ea4
    restrictions on file names. Therefore, it is a best practice to avoid the
Packit Bot 4b9ea4
    following characters in your file names: <file>|</file>, <file>\</file>,
Packit Bot 4b9ea4
    <file>?</file>, <file>*</file>, <file><</file>, <file>"</file>,
Packit Bot 4b9ea4
    <file>:</file>, <file>></file>, <file>/</file>.

Packit Bot 4b9ea4
Packit Bot 4b9ea4
    <note style="warning">
Packit Bot 4b9ea4
    

If you name a file with a <file>.</file> as the first character, the

Packit Bot 4b9ea4
    file will be <link xref="files-hidden">hidden</link> when you attempt to
Packit Bot 4b9ea4
    view it in the file manager.

Packit Bot 4b9ea4
    </note>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
  </section>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
  <section id="common-probs">
Packit Bot 4b9ea4
    <title>Common problems</title>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
    <terms>
Packit Bot 4b9ea4
      <item>
Packit Bot 4b9ea4
        <title>The file name is already in use</title>
Packit Bot 4b9ea4
        

You cannot have two files or folders with the same name in the same

Packit Bot 4b9ea4
        folder. If you try to rename a file to a name that already exists in
Packit Bot 4b9ea4
        the folder you are working in, the file manager will not allow it.

Packit Bot 4b9ea4
        

File and folder names are case sensitive, so the file name

Packit Bot 4b9ea4
        <file>File.txt</file> is not the same as <file>FILE.txt</file>.
Packit Bot 4b9ea4
        Using different file names like this is allowed, though it is not
Packit Bot 4b9ea4
        recommended.

Packit Bot 4b9ea4
      </item>
Packit Bot 4b9ea4
      <item>
Packit Bot 4b9ea4
        <title>The file name is too long</title>
Packit Bot 4b9ea4
        

On some file systems, file names can have no more than 255

Packit Bot 4b9ea4
        characters in their names.  This 255 character limit includes both the
Packit Bot 4b9ea4
        file name and the path to the file (for example,
Packit Bot 4b9ea4
        <file>/home/wanda/Documents/work/business-proposals/…</file>), so you
Packit Bot 4b9ea4
        should avoid long file and folder names where possible.

Packit Bot 4b9ea4
      </item>
Packit Bot 4b9ea4
      <item>
Packit Bot 4b9ea4
        <title>The option to rename is grayed out</title>
Packit Bot 4b9ea4
        

If <gui>Rename</gui> is grayed out, you do not have permission to

Packit Bot 4b9ea4
        rename the file. You should use caution with renaming such files, as
Packit Bot 4b9ea4
        renaming some protected files may cause your system to become unstable.
Packit Bot 4b9ea4
        See <link xref="nautilus-file-properties-permissions"/> for more
Packit Bot 4b9ea4
        information.

Packit Bot 4b9ea4
      </item>
Packit Bot 4b9ea4
    </terms>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
  </section>
Packit Bot 4b9ea4
Packit Bot 4b9ea4
</page>