KDB2 / Nemo-hide

Hide files without renaming them (with the .hidden file)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nemo Hide

Extension for Nemo to hide files without renaming them.

Adapted from Nautilus Hide Copyright (C) 2015 Bruno Nova brunomb.nova@gmail.com https://bitbucket.org/brunonova/nautilus-hide/src#clone

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Description

Nemo Hide is a simple Python extension for the Nemo file manager that adds options to the right-click menu to hide or unhide files.

The extension hides the files without renaming them (i.e. without prefixing a dot ('.') or suffixing a tilde ('~')). It does that by adding their names to the folder's .hidden file, which Nemo reads to hide the listed files the next time you open or refresh the folder.

Details

In Linux, and other UNIX like systems, a file with a name that starts by a dot ('.') is considered a hidden file. Some file managers also hide files that end with a tilde ('~'), with are considered backup files.

To hide an existing file, you would have to rename it. That's not always feasible or desirable.

Some file managers, like Nemo, offer an alternative way of hiding files: you create a text file that lists, line-by-line, the names of all the files you want to hide and save it in that folder with the name .hidden. The next time you open or refresh that folder, those files will not be visible.

This extension simply uses that .hidden file to hide files. When you choose to hide a file, its name is added to the folder's .hidden file. When you choose to unhide it, the name is removed. You will have to refresh the folder to see the result.

Installation

dpkg-buildpackage

cd ..

sudo dpkg -i *.deb

About

Hide files without renaming them (with the .hidden file)

License:GNU General Public License v3.0


Languages

Language:Python 100.0%