Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

UX: compress files and folders and pipe to age under Windows #102

Closed
graphixillusion opened this issue Feb 21, 2020 · 1 comment
Closed

UX: compress files and folders and pipe to age under Windows #102

graphixillusion opened this issue Feb 21, 2020 · 1 comment

Comments

@graphixillusion
Copy link

@graphixillusion graphixillusion commented Feb 21, 2020

Hi guys. I'm experimenting some CLI commands to make compression, archiving and encryption on the fly using Windows cmd. I successfully managed to achieve the compression and encryption of one single file using this command:
7z a dummy -tgzip -so filename_to_compress | age -r publickey > encrypted.file
Now i'm trying to achieve the same thing with Folders (with multiple files inside) but i'm not lucky this time. I see that 7z -so switch works just with this formats: xz, gzip, bzip2 and tar which work just with singles files. I'm just wondering what can i use and how to make it works under Windows, using 7z or maybe something else: any idea?
I have another quick question to ask: is it possible to pipe and use age -p switch (with auto generated passphrase?)

Thank you all!

@graphixillusion
Copy link
Author

@graphixillusion graphixillusion commented Feb 23, 2020

Actually i have found that this command works good:

7z a dummy -ttar -so folder_to_compress | age -r publickey > encrypted.file

What about the -p switch support with this command? Thank you.

Repository owner locked and limited conversation to collaborators Apr 19, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants