6

I have this external hard drive, and I used it in windows, now that I use it on Ubuntu, and it is kind of annoying to see files like System Volume Information, so how can I make it hidden? Or how can I make any file hidden?

  • How can I use the .hidden feature in Nautilus with a filename with multiple words? I was able to hide RECICLER by listing it in .hidden, but not System Volume Information. I tried using quotation marks (i.e."System Volume Information") and / between the words with and without spaces after them (i.e. System/ Volume/ Information and System/Volume/Information. Thanks in advance – user226182 Dec 17 '13 at 2:10
0

The problem is in linux, hidden attribute of windows doesn't work.

To hide a file/folder, you put a . infront of file name.

But As those folder are system folder in windows, renaming them with . may cause damage to the OS stability or windows may create another folder with name which will be again visiable in linux

So you have to live with that. :)

| improve this answer | |
  • that's hard to live with that.. but i put "." and they got invisible, thank you! :) i'm not gonna be using windows much anymore, ubuntu has everything.. but only the games that windows has.. and it doesn't even open with wine.. and this sucks :( – AmirRazoR Dec 9 '12 at 6:57
17

Just create text file .hidden on your external hard drive, and add folders you wish to hide, like this:

found.000
$RECYCLE.BIN
RECYCLER
System Volume Information

After that make sure to refresh the view (F5) and the folders should now be invisible.

PS. if you wish to see/hide hidden files/folders press Ctrl+H.

| improve this answer | |
  • Refresh didn't do it for me. I had to close and reopen the nautilus window or change directories (on 16.04) – raphinesse Feb 23 '17 at 23:13
  • 1
    This is a much nicer way to achieve this than prepending a . before each folder, IMHO – lealceldeiro Aug 23 '17 at 17:39
  • Also, works with the Dolphin file manager on Arch. Much nicer solution than prepending a period. – LivePastTheEnd Dec 10 '17 at 5:18
  • Can confirm this also works with the caja file manager. – joelnb Jan 22 '19 at 9:05
4

Although you can make any file/folder hidden by prepending a dot to his name, it is not a good idea to do so on files/folders that belong to another operating system, and that could turn the alien system unstable.

Nautilus, Ubuntu's file browser/manager, has a feature that allows hidding arbitrary files and folders without having to resort to changing their names:

Simply create a .hidden file in the root of the affected partition or directory, and list in there the names of the files you want to be hidden on Nautilus user interface.

| improve this answer | |
  • 1
    And here's a guide how to automate this. Please note that some restrictions apply to this method. .hidden files only get interpreted by a few Linux file managers (including the standard one Ubuntu ships with, Nautilus). You will still be able to see the files from the terminal and applications that don't support the .hidden method. – Glutanimate Dec 29 '13 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.