Copy mirror files with robocopy rsync lftp
The best utilities to use when copying/mirroring/backing up files are:
- robocopy – Windows
- rsync – Linux
- lftp – Linux without setting up password-less ssh
Scripts can supply a password to sftp using lftp like this:
lftp -u user:password sftp://server.domain.com << END_LFTP put /directory/file.txt quit END_LFTP
You can set up password-less ssh this way.
Leave a Reply