Ẩn tập tin

The Files file manager gives you the ability to hide and unhide files at your discretion. When a file is hidden, it is not displayed by the file manager, but it is still there in its folder.

To hide a file, rename it with a . at the beginning of its name. For example, to hide a file named example.txt, you should rename it to .example.txt.

You can hide folders in the same way that you can hide files. Hide a folder by placing a . at the beginning of the folder’s name.

Hiện mọi tập tin ẩn

If you want to see all hidden files in a folder, go to that folder and either click the view options button in the toolbar and pick Show Hidden Files, or press Ctrl+H. You will see all hidden files, along with regular files that are not hidden.

To hide these files again, either click the view options button in the toolbar and pick Show Hidden Files, or press Ctrl+H again.

Thôi ẩn tập tin

To unhide a file, go to the folder containing the hidden file and click the view options button in the toolbar and pick Show Hidden Files. Then, find the hidden file and rename it so that it does not have a . in front of its name. For example, to unhide a file called .example.txt, you should rename it to example.txt.

Once you have renamed the file, you can either click the view options button in the toolbar and pick Show Hidden Files, or press Ctrl+H to hide any other hidden files again.

Mặc định tập tin ẩn sẽ chỉ hiện trong cửa sổ hiện tại cho đến khi đóng cửa sổ. Để luôn hiện tập tin ẩn, xem Views preferences in Files.

Most hidden files will have a . at the beginning of their name, but others might have a ~ at the end of their name instead. These files are backup files. See What is a file with a ~ at the end of its name? for more information.