Everyone has some stuff *cough* porn *cough* they don't want others to see or access. Unfortunately I don't have a Personal Computer, and I had some stuff I wanted to hide. I tried using some softwares but they just didn't seem right. So I made a small script that uses the oldest trick in the book - Renaming Files
I am not a very experienced programmer and have very little experience. So you might think this script is Shitty
.
- The .py files have to be at the to of the diretory you want to hide.
- Directory names remain unhanged.
- Some filenames are reserved. (
hidden
,temp
etc.) - No Unit tests. (Read disclaimer)
- Rename files with a different extension.
- Rollback to original filenames
- Flexible configuration
- Can create backups in case things go wrong. (Not automatially)
Place the .py
files in the diretory you want to hide. So if you put the files in /foo/bar/
, it will hide all files inside of bar
.
Run python rename.py
A file called temp
will be created.
Run python rename.py
Run python backup.py
A file named backup_pickle
will be created. Read the internals of backup.py
for more info.