#!/bin/sh
# copying files using ssh
#
for i in file1 file2 file3
do
ssh =l john@sama.expanor.local "tar cf - $i" | tar - xvf -
done
# copying files using ssh
#
for i in file1 file2 file3
do
ssh =l john@sama.expanor.local "tar cf - $i" | tar - xvf -
done
No comments:
Post a Comment