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 scriptLast changelog:
Ratings & Comments
0 Comments