P
P
P_Alexander2019-09-13 08:14:10
JavaScript
P_Alexander, 2019-09-13 08:14:10

I downloaded the file and it is written to stdout, how can I drive it into a file now?

Installed fedora, downloaded dropbox in this way

wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

And now he writes to the console that it is saved to stdout. How to save it to a folder?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Nikolaev, 2018-04-06
@artlivee

feeling like .click() doesn't work

But that's assuming everything else works.

R
Radjah, 2019-09-13
@P_Alexander

What is there to keep? wget piped the downloaded file to tar. tar that came through the pipe was unpacked as an archive. There was no file, there is only the unpacked contents of the archive in the current directory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question