How to Password Protect Folders in Linux!

Описание к видео How to Password Protect Folders in Linux!

o lock the hin folder, you can use encryption to ensure its contents are secure. Here’s a simple way to do it using GnuPG, which you already have installed:

Encrypt the Folder:
First, compress the folder into a .tar archive:
tar -cvf hin.tar hin

Then, encrypt the .tar file:
gpg -c hin.tar
You will be prompted to enter a passphrase. This passphrase will be required to decrypt the file later.
Remove the Original Folder and Archive:
rm -rf hin hin.tar

Decrypt the Folder:
When you need to access the folder, decrypt the .tar file:
gpg -d hin.tar.gpg hin.tar

Then, extract the contents:
tar -xvf hin.tar
FOLLOW ME:

Linkdin
linkedin.com/in/pushkar-razput-271b172b2

Youtube
   / @pushkarrajput5587  

Telegram
t.me/Push_565

Youtube
   / @pushkarrajput5587  

Tiktok
tiktok.com/@devil_hunt4?_t=8nubOOVOg78&_r=1

Комментарии

Информация по комментариям в разработке