Search This Blog

Showing posts with label tar. Show all posts
Showing posts with label tar. Show all posts

Thursday, April 25, 2019

Remote tar

Copy a files from remote location using a file list.


ssh host "cat fileList | xargs tar cf -" | tar xvf -

Monday, February 08, 2016

Man in the middle remote copy files.

To copy files between 2 remote servers using man in the middle server using tar.


ssh server1 "cd /data;tar cf - ." | ssh server2 "cd /data;tar xvf -"