Nautilushidefilesystem

This page is dedicated to hiding parts of the filesystem from within Nautilus.

This is easily accomplished by creating (as root) a file called .hidden in whichever directory you want to hide files/subdirectories in, which contains, one line at a time, a list of each file and/or directory you want to hide.

For example, I have created a file called /.hidden: (this is on Ubuntu Gutsy i386 Desktop install):

cd /

sudo vim .hidden

/.hidden:

bin
boot
cdrom
dev
etc
initrd
lib
lost+found
media
mnt
opt
proc
root
sbin
srv
sys
tmp
usr
var
initrd.img
initrd.img.old
vmlinuz
vmlinuz.old
lib32

Reference URLs

https://wiki.ubuntu.com/HideFilesystemStructure

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License