rsync
On Linux filesystems we strongly recommend to use rsync to copy data. Here are some useful examples:
Example | Command | Note |
---|---|---|
Basic usage | rsync -Pauv $SDIR $SERV:/$DDIR/ |
|
Set group/user and permissions | rsync -Pvrupog --chown=$USR:$GRP --chmod=D770,F660,Dg+s $SDIR $SERV:$/DDIR/ |
|
Parallel rsync | find . -maxdepth 1 -type d -print0 | parallel -j8 -0 'rsync -Pauv {} $SERV:$/DDIR/' |
|
On Windows you can install rsync via Cygwin or you can use https://en.wikipedia.org/wiki/Robocopy
sftp/filezilla
On WIndows/Linux you might also want to use filezilla. However, you should avoid (old fashined) ftp and should enforce sftp, by useing port 22 for security reasons.