How to copy from the server 30 GB of images in JPEGs e?

The issue is - when on earth dinosaurs were still living, some hard-core LSD the developers who use ancient runes, did the server on which costs Linux and now there is kept for 30 GB of photos (a kind of "CDN" in quotes) that you want to copy from there and not lose. Access to the server is via SSH. Attention is the question of who will offer the best method of pulling out the photo, than, for example, through MC? I suspect that when I open MC it just crashes me :)
June 27th 19 at 15:26
5 answers
June 27th 19 at 15:28
Solution
only rsync, only hardcore:

rsync -avz lsd_user@oldLinuxServer:///var/www/pornosite/images /home/happynewadmin/funnyPics


Keys:
  • a – recursion in padaki and try to pass on permission attributes of files and links to keep. Probably also optional – you can instead r – only recursion into subfolders.
  • v – will be fully pour in the console the path of each copied file. Probably better to remove and instead the q – output only errors/warnings.
  • z – will try to press the files you want to transfer a smaller volume. With JPEGs AMI ineffective. It is possible to hammer.
What is the probability that this randomly sinhroniziruete my rsync an empty folder on the server with the pictures?
And so a good idea. Join Rsync over ssh? - mohamed.Muller commented on June 27th 19 at 15:31
the probability, as in the joke, 50% or accidentally overwritten all the images on the server or not \_(ツ)_/ In fact, to wipe out any missing you would have at a Destination, if you specify the --delete. Do not confuse the path: first the source then the destination. rsync how much Well, try it first on a small test folder on the server, and then zamachivalas on higazy Pecherov. - Lorena commented on June 27th 19 at 15:34
Thanks, will test on a test machine first, I can't bear the loss of 70 GB of porn-photo (joke). - mohamed.Muller commented on June 27th 19 at 15:37
June 27th 19 at 15:30
But if SFTP?
1 team he recursively all subdirectories will deflate?
get /mydir ? - mohamed.Muller commented on June 27th 19 at 15:33
June 27th 19 at 15:32
rsync
tar+split
zip+split
OpenStack Swift and filling machine in the store(so we have backups of the file in funneling Selectel)
While I tend to this as the most simple solution:
sftp user@server
get /mydir - mohamed.Muller commented on June 27th 19 at 15:35
June 27th 19 at 15:34
rsync
wget
With rsync I think.
And unless wget is able to connect via ssh and recursively himself to find and to pump the 30 GB photo? Doubt - mohamed.Muller commented on June 27th 19 at 15:37
Just download (as an option). If that is to podmenivali domain to the directory. - Lorena commented on June 27th 19 at 15:40
: mount your domains - excessive operation there will be. To do so:
easy movement and a click of the mouse (well, or a light set console 1 command, with a maximum of two), trousers turn to elegant shorts. - mohamed.Muller commented on June 27th 19 at 15:43
: mount domain is a variant if otherwise unavailable (ttp or ftp).
I'm just suggesting, as you asked. - mohamed.Muller commented on June 27th 19 at 15:46
June 27th 19 at 15:36
Stupidly using WinSCP or similar and pull out everything on the computer. Then have to do everything you need.

Find more questions by tags ServersWeb DevelopmentSystem administration