Hide a file
You can hide files by renaming them with a . at the beginning of their name. Hidden files are invisible by default; they are not displayed in the file manager, but they are still there in the folder.
To hide a file, rename it with a "." at the beginning of its name. For example, to hide a file example.txt, you should rename it to .example.txt.
You can hide folders in the same way that you can hide files. Rename the folder with a "." at the beginning of its name.
Unhide a file
To unhide a file, go to the folder containing the hidden file and click View ▸ Show Hidden Files. Then, find the hidden file and rename it so that it doesn't 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 View ▸ Show Hidden Files or press Ctrl+H to hide any other hidden files again.
More Information
See Also
- What is a file with a "~" at the end of its name? — These are backup files. They are hidden by default.