Answer the question
In order to leave comments, you need to log in
How to zip a folder and immediately move it to another folder with one command?
Now I'm packing like this
zip -r danilkonev.zip /home/admin/web/danil-konev/
Then I transfer it with the help of the mv command, how to do it with one command? I tried with && and then mv, but something did not work out.
Answer the question
In order to leave comments, you need to log in
and at once to do in the necessary directory?
zip -r /MY/ANOTHER/DIRECTORY/danilkonev.zip /home/admin/web/danil-konev/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question