Đổi tên tập tin hoặc thư mục

As with other file managers, you can use Files to change the name of a file or folder.

Để đổi tên tập tin hoặc thư mục:

  1. Nhấn chuột phải vào tập tin hoặc thư mục và chọn Đổi tên, hoặc chọn tập tin và nhấn F2.

  2. Type the new name and press Enter or click Rename.

Bạn cũng có thể đổi tên tập tin từ cửa sổ thuộc tính.

When you rename a file, only the first part of the name of the file is selected, not the file extension (the part after the last .). The extension normally denotes what type of file it is (for example, file.pdf is a PDF document), and you usually do not want to change that. If you need to change the extension as well, select the entire file name and change it.

If you renamed the wrong file, or named your file improperly, you can undo the rename. To revert the action, immediately click the menu button in the toolbar and select Undo Rename, or press Ctrl+Z, to restore the former name.

Ký tự hợp lệ cho tên tập tin

You can use any character except the / (slash) character in file names. Some devices, however, use a file system that has more restrictions on file names. Therefore, it is a best practice to avoid the following characters in your file names: |, \, ?, *, <, ", :, >, /.

If you name a file with a . as the first character, the file will be hidden when you attempt to view it in the file manager.

Vấn đề thông thường

Tên tập tin đã dùng rồi

You cannot have two files or folders with the same name in the same folder. If you try to rename a file to a name that already exists in the folder you are working in, the file manager will not allow it.

Tên tập tin và thư mục phân biệt chữ hoa và chữ thường, nên Taptin.txttaptin.txt là hai tên khác nhau. Đặt tên như vậy là hợp lệ, nhưng không nên.

Tên tập tin quá dài

On some file systems, file names can have no more than 255 characters in their names. This 255 character limit includes both the file name and the path to the file (for example, /home/wanda/Documents/work/business-proposals/…), so you should avoid long file and folder names where possible.

Tuỳ chọn đổi tên bị tô xám

Nếu Đổi tên bị tô xám, bạn không có quyền đổi tên tập tin đó. Bạn nên cẩn thận nếu muốn đổi tên những tập tin như vậy, vì đổi tên tập tin được bảo vệ có thể làm mất ổn định hệ thống. Xem Đặt quyền tập tin để biết thêm.