ricardojoserf / file-hider

Hide your files in infinite folders. It creates one folder for every character recursively, so the true file gets stored in the initial route and in the other folders a fake file (with the same name and size) gets stored.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

file-hider

This hides your files in 'infinite' folders creating fake files which seem the same than the original.

The file created in each folder is not real, it is just a bunch of zeros and a one-bit in the exact position so the OS thinks it has the same size than the original file.

The original file gets stored in the route marked by the characters of the second parameter (so if the value is "abcd", it will be stored in "a/b/c/d" and in the other folders ("a/a/a/a", "a/a/a/b"...) a fake file with the same name and size gets stored).

Usage

python hider.py $FILE $CHARACTERS

Example

python hider.py file_to_hide.txt yzx

Screenshot

As the second parameter is yzx the original file is stored in y/z/x/. All the other files are fake.

Note

Tested both in Python2.x (2.7.15rc1) and Python 3.x (3.6.7)

About

Hide your files in infinite folders. It creates one folder for every character recursively, so the true file gets stored in the initial route and in the other folders a fake file (with the same name and size) gets stored.


Languages

Language:Python 100.0%