如何使用 rsync 将不断更新的文件夹与服务器上的 images/video 个文件同步
How to use rsync to synchronise a folder that is constantly updating with images/video files on a server
我以前使用 rsync 来移动文件,但是我想知道从定期添加新文件的目录中移动文件并在另一台远程服务器上同步的最佳解决方案是什么这样做的方法?
您可以使用 cron
不断更新您的文件夹,例如在这种情况下:Using crontab to execute script every minute and another every 24 hours
我以前使用 rsync 来移动文件,但是我想知道从定期添加新文件的目录中移动文件并在另一台远程服务器上同步的最佳解决方案是什么这样做的方法?
您可以使用 cron
不断更新您的文件夹,例如在这种情况下:Using crontab to execute script every minute and another every 24 hours