FreeFileSync 一款开源的文件同步软件

FreeFileSync 用户手册:

计划同步任务

  1. 在 FreeFileSync 主窗口创建一个同步任务配置文件: 菜单 → 文件 → 保存配置文件
    Setup a FreeFileSync batch job

  2. 默认情况下,FreeFileSync将在同步期间显示一个进度对话框 将在显示摘要对话框时等待。 如果不需要“进度对话框”,请启用Checkbox运行最小化,并设置自动关闭,如果您想在末尾跳过摘要对话框。
    Note
    即使开始时未显示进度对话框,您也可以通过双击通知区域中的freefilesync图标在同步期间任何时候可见

  3. 如果您不希望错误或警告消息在没有用户响应时停止同步,请 检查忽略错误或设置取消以在第一个错误中停止同步。
     
  4. The FreeFileSync batch job can be started by double-clicking on the ffs_batch file or it can be set up in your operating system's scheduler:
     

Note
Be sure to enable Auto-Close and Ignore errors/Cancel if you schedule the ffs_batch file to run under a different user account. With no one there to close the results dialog manually, the task would hang indefinitely.



Windows Task Scheduler

  1. Open the Task Scheduler either via the start menu, or enter taskschd.msc in the run dialog (keyboard shortcut: Windows + R).
     
  2. Create a new basic task and follow the wizard.
     
  3. Make Program/script point to the location of FreeFileSync.exe and insert the ffs_batch file into Add arguments.
     
  4. Use quotation marks to protect spaces in path names, e.g. "D:\Backup Projects.ffs_batch"
    Windows Task Scheduler

备注
  • Program/script always needs to point to an executable file like FreeFileSync.exe even when the ffs_batch file association is registered. If an ffs_batch file was entered instead, the task would return with error code 2147942593 (0x800700C1), "%1 is not a valid Win32 application".
  • If you schedule FreeFileSync to run under a different user account, note that the configuration file GlobalSettings.xml will also be read from a different path, C:\Users\<username>\AppData\Roaming\FreeFileSync, or in the case of the SYSTEM account from C:\Windows\System32\config\systemprofile\AppData\Roaming\FreeFileSync.
    You can force usage of a particular GlobalSettings.xml file by passing it as a 命令行使用 parameter.



macOS Automator and Calendar

  1. Open Launchpad and run Automator.
    Launch macOS Automator
     
  2. Create a new Calendar Alarm.
    Create Calendar Alarm
     
  3. Drag and drop the ffs_batch file on the workflow panel.
    Drop FreeFileSync batch file in Automator
     
  4. Drag and drop action Files & Folders/Open Finder Items and add it to the workflow.
    Add open Finder items
     
  5. Go to File → Save... and save the Automator job.
    Save Automator job
     
  6. The Calendar app will start automatically with the Automator job scheduled to the current day. You can now select a different time for synchronization or make it a recurring task.
    Edit batch job in Calendar



Ubuntu Linux Gnome Scheduled Tasks

  1. Install Gnome-schedule if necessary: sudo apt-get install gnome-schedule
     
  2. Search the Ubuntu Unity Dash for Scheduled tasks
     
  3. Enter the command: <FreeFileSync installation folder>/FreeFileSync <job name>.ffs_batch
     
  4. Select X application since FreeFileSync requires access to GUI
    Gnome Scheduler