Easily Hide Files/Folders in Nautilus

Nautilus Scripts

Source (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
Score 50.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:

8 years ago

1.0: Initial release

Be the first to comment

8 years ago

1.0: Initial release

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.0
updated Jun 23 2011
added Jun 21 2011
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3
System Tags addon