Comments

You must log in or register to comment.

causa-sui t1_j3d9bbp wrote

tar cf - . | gpg --symmetric -o files.tar.gpg
13

djsnipa1 t1_j3dx0q4 wrote

I wish I knew where to get super useful commands like this! Thanks

2

causa-sui t1_j3enkaq wrote

Learn the tools and how to work with pipelines in the shell. Read the manpages etc. Unix philosophy is that everything does one thing but can be easily linked through pipelines. Then you can combine tools to do arbitrary things like this, rather than memorizing incantations.

4

djsnipa1 t1_j3f5m1b wrote

Yeah, thanks for the response. Is there a good place that has a lot of useful one-liners?

1

asdf49 t1_j3f2mx4 wrote

I was going to say...this can be accomplished in any shell environment with a couple of lines and an executable that encrypts data.

2

Adventurous-Inside36 OP t1_j3ffmso wrote

The problem that I found with pipelining is that it doesn’t support multithreading and essentially the bottleneck can be the single tar file which is piped into gpg.

1

djsnipa1 t1_j3dwvch wrote

Can this easily be built to a x86 Linux binary? So I don’t have to have cargo installed?

2

Adventurous-Inside36 OP t1_j3ffrq2 wrote

I will soon add binaries in Github Releases

Edit: You can download binaries from Release tab

2