In Linux, Files and directories can be hided in file browsers like nautilus by using .hidden file. Create a file with name .hidden and enter the file/directory names line by line into that to hide from file viewer applications.
.hidden file should contain file/directory names like
.hidden file should contain file/directory names like
test.txt
image.jpg
test_directory
This will hide the listed files/directories from the respective path where the .hidden file is written. User cannot hide file/directory which is not under the same path. For example, test_directory/test.doc cannot be make invisible from the current path.
Even though if it is hided it can be viewed from terminal/console by default. In Nautilus also, these hidden files can be viewed by pressing the key 'Ctrl+H'.
No comments:
Post a Comment