Easily Hide Files/Folders in Nautilus

Nautilus Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
Hide-Unhide-In-Nautilus.sh
This is a simple nautilus script to automatically add file(s)/folder(s)
to a ".hidden" file so Nautilus will hide them, just like ".*" files
Instructions:
- decide what file(s)/folder(s) you want to hide inside a particular folder,
- highlight them, and right click and select the script
- it will automatically add the filenames to a created ".hidden" file inside the directory
- if ".hidden" isn't there, it will add it
- if you decide to unhide things, simply highlight and select the script again,
- and it will automatically remove the filenames from the ".hidden" file
- if ".hidden" contains no filenames, it will remove it


Optionals:
- Add the option to change the owner and group for whatever is selected to hide/unhide
- Add the option to add the permissions for whatever is selected to hide/unhide
- Add the option to make executable whatever is selected to hide/unhide


Remember this only works inside the current directory/opened folder and files/folders inside that folder.
Just comment out or uncomment whatever desired.
Currently, only the ability to hide/unhide stuff is uncommented,
but you can always just comment it out, and uncomment one of the "Make Executable" commands,
and/or one of the "Change the owner and/or group of each file" commands,
and/or one of the "Add permissions" commands, or mix and match whatever you want.


For the changes to take effect to the file(s)/folder(s) you hid/unhid, you may have to refresh the folder, or even Nautilus


Extra Scripts:

Remove-All-.hidden-Files.sh
This is a simple nautilus script to automatically remove all ".hidden" files
in your home directory, including those ".hidden" files created using
"Hide-Unhide-In-Nautilus.sh"

...AND...

Hide-Unhide-In-Nautilus-On-Startup.sh
This is a simple nautilus script to automatically add file(s)/folder(s)
to a ".hidden" file from a single preset ".hidden" file so Nautilus will hide them, just like ".*" files
Instructions:
- Put this in whatever folder you wish
- Set it to run at startup by going to Main Menu -> System -> Preferences -> Startup Applications
- Add a new startup program, like this: Name: Hide-Stuff-In-Nautilus; Command: /path/to/file/Hide-Unhide-In-Nautilus-On-Startup.sh
- Input whatever user you want who can use this script
- Input whatever file(s)/folder(s) you want below, between the parentheses


This only works if you input the proper filenames and foldernames into this beforehand
Once done, and linked as a startup program, it will run at startup, first deleting the older
".hidden" files on your system, and making ".hidden" files as per requsted on this script
Last changelog:

1.0: Initial release


Ratings & Comments

0 Comments

Be the first to comment
Pling
0 Affiliates
Details
license
version 1.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Nautilus Scripts from inameiname:

The Ultimate Nautilus/Nemo Scripts Pack
inameiname
last update date: 7 years ago

Score 6.8

Easy TV Watch/Convert Script
inameiname
last update date: 13 years ago

Score 5.0

Install all Google Fonts via Naut Script
inameiname
last update date: 13 years ago

Score 5.7

Easy Video Convert To DVD
inameiname
last update date: 14 years ago

Score 5.0

Random-Music.sh (Nautilus Script)
inameiname
last update date: 14 years ago

Score 5.7

Easy Video Convert To AVI
inameiname
last update date: 14 years ago

Score 5.0

Other Nautilus Scripts:

Gflv2avi
acidc00l
last update date: 15 years ago

Score 5.0

My Movie Portal v3.2.8
iTechScripts
last update date: 13 years ago

Score 4.7

Browse Nautilus as root
SteveSims
last update date: 17 years ago

Score 5.0

Open Nautilus as Root
Mariux
last update date: 17 years ago

Score 5.0

Compare Strings
cdmn
last update date: 17 years ago

Score 5.0

grooto
pontos
last update date: 17 years ago

Score 5.0



System Tags