rsyncΒΆ
#!/usr/bin/env bash
apt-get -qy install \
rsync
Run:
rsync -a -r <src>/ <dst>
-athe archive option preserves file-properties etc.-rrecursively, dive down into sub-directories
And when the transfer is interrupted then resume it with:
-P, enables--partialand--progress