Caution
Do not use this to store very sensitive data. Just for more general stuff like photos, movies, and that kind of thing. It is secure until someone doesn't know the root password
.
I build this "over-engineered" tool..... for myself and thought others may need this.
A small, 🔐 password-protected TUI + CLI tool that hides folders by prefixing them with "." , changes ownership to root and securely stores folder metadata using OpenSSL and a SHA-256 hashed password.
- Type full path of folder
dotfold hide "/path/to/folder"
- Or, open a terminal in the folder’s parent directory and provide just the folder name.
dotfold hide "folder name"
dotfold show hidden # shows all hidden folders
dotfold unhide # lets you unhide a folder
dotfold change passwd # Changes your password
📦 Install Dependencies
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg
echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
sudo apt update && sudo apt install gum fzf openssl
sudo pacman -S gum fzf openssl # Arch based system
sudo dnf install gum openssl fzf
- Clone this repository
git clone https://github.com/Harsh-bin/dotfold.git
cd dotfold
chmod +x ./install.sh
./install.sh
- Restart terminal and run
dotfoldtui # TUI MODE
dotfold [command] # CLI MODE
- Everything's done. NOW, enjoy!✌️
chmod +x ./uninstall.sh
./uninstall.sh