https://github.com/koushikphy/nautilus-hider
Easily hide files and foler in nautilus file manager
https://github.com/koushikphy/nautilus-hider
file-manager filemanager hide-files hide-folder nautilus nautilus-python nautilus-scripts ubuntu
Last synced: 3 months ago
JSON representation
Easily hide files and foler in nautilus file manager
- Host: GitHub
- URL: https://github.com/koushikphy/nautilus-hider
- Owner: Koushikphy
- Created: 2023-01-05T11:33:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-08T13:50:58.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T20:31:11.977Z (4 months ago)
- Topics: file-manager, filemanager, hide-files, hide-folder, nautilus, nautilus-python, nautilus-scripts, ubuntu
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Nautilus Hider
#### Easily hide files and folder in nautilus file managerhttps://github.com/Koushikphy/Nautilus-Hider/assets/43264301/9f4e77ae-efd8-4eb2-8402-9626426d435d
### Background motivation
There are certain auxiliary files that are necessary for certain programs to function properly, but may not be necessary for humans to view. It is often best to keep these files hidden. However, hiding files in [Nautilus file manager](https://en.wikipedia.org/wiki/GNOME_Files) can be difficult. There are two options: (a) You can rename the file by adding a `.` to the beginning of the file name, but this may cause issues with certain programs. (b) You can create a `.hidden` file and include the name of the file within it. However, this method requires the exact full name of the file, glob patterns do not work, and it also does not work for subdirectories. This code streamlines the process of creating `.hidden` files by adding a right-click context menu option.### Installation:
Simply download and run the [`nautilusHider.py`](https://github.com/Koushikphy/Nautilus-Hider/blob/main/natilusHider.py) python code. This will install the necessary scripts in the nautilus scripts folder. Additionally, you can specify certain file patterns in the python code that you always want to be hidden."### Usage:
To hide a file, right click on it and select `Scripts` > `nhider` > `hide.py`. Alternatively, you can choose `hideAll.py` to hide all files that match the patterns specified in the python code. To make all hidden files visible again, select `unhideAll.py` or simply delete the `.hidden` file from the current directory.