Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1182  / 2 Years ago, wed, march 2, 2022, 6:55:03

I extracted the information from an ISO Image and from Nautilus I could only see two folders, but from the terminal I can see the rest of the files and folders. These folders do not have the . character in from of them to hide them from plain sight. When I try to "Show hidden files" in Nautilus, Nautilus closes/crashes itself and it does not show the hidden folders or files.



Somehow they are hidden without using the normal dot in the beginning of the filename. They have my user permission, but no way of seeing them from within Nautilus. I can interact with them, but the fact that they appear hidden when I can see them inside the ISO and after extracting them they disappear is what confuses me.



What permission or setting makes this folders appear hidden and does not let Nautilus show them and like I said before, trying to show them with the "Show hidden files" option crashes Nautilus and exits it, forcing me to have to open Nautilus again from the Launcher.


More From » nautilus

 Answers
3

Found this that solved the problem. Learned something new everyday: https://unix.stackexchange.com/questions/31688/options-for-hidden-files



There was a file called .hidden that just so happened to have the list of files that appear hidden but without the . in front of them.



After removing this file everything is shown in Nautilus.



So basically there are 3 ways to hide a file:




  1. Prefix the . symbol in front of the file/folder. If it was spore, after hiding it this way it should be .spore with a . (dot) in front of it.


  2. Add a ~ at the end of the file. If the file ends with ~, it is considered a "Backup File" and by default it gets hidden. If you have a file called spore and you change it to spore~ this would hide it and it would be considered a backup file. You can see that by default gedit for example does this.


  3. Create the .hidden file in the directory where you want to hide some files/folder. Inside the .hidden file add in each line the name of the file or folder you wish to hide.



[#39614] Thursday, March 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sator

Total Points: 258
Total Questions: 119
Total Answers: 101

Location: Sweden
Member since Fri, Apr 16, 2021
3 Years ago
;