Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypt folder #9

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Gu1llaum-3
Copy link
Contributor

I love your tool, but it's missing the ability to encrypt a folder, which I added.

Just use the same command, the folder will be detected then compressed into tar.gz and then encrypted. The intermediate tar.gz folder will be deleted.
Then simply use the command to decrypt, you will then be asked if you want to decompress the archive and if you want to delete this archive after decompression.

@nodesocket
Copy link
Owner

nodesocket commented Aug 1, 2024

@Gu1llaum-3 humm, I appreciate this PR, but I wonder if adding the additional code and complexity is really needed? Does the following work?

tar -czf - /path/to/directory | cryptr encrypt

@Gu1llaum-3
Copy link
Contributor Author

@nodesocket I appreciate your suggestion, but the command you mentioned does not work. Even if it did, it wouldn't be as straightforward as the code I added. While it does introduce some additional complexity, it remains quite reasonable and provides a very practical option that I find highly useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants