如何在 Ubuntu 22.04 上安装 FreeFileSync 同步工具 ?

FreeFileSync 是一个开源的文件同步和备份工具,有助于跨文件夹和各种设备同步文件,并保持您的数据更新。它是一个多平台工具,适用于 Windows、Linux 和 Mac系统。

在本教程中,我们将逐步介绍如何在 Ubuntu 22.04 上安装 FreeFileSync

前提条件

  • Pre-Installed Ubuntu 22.04 LTS system
  • Sudo User with admin rights
  • Stable Internet connectivity

(1) 更新软件包列表

首先,登录到你的 Ubuntu 22.04 工作站并更新软件包列表

$ sudo apt update

(2) 下载 FreeFileSync 安装文件

FreeFileSync is not included in the official Ubuntu repositories at
the time of writing this guide. The only way of installing it is by
downloading the binary file from the official site and then running the
installation file.

在撰写本指南时,FreeeFileSync 还没有包含在官方的 Ubuntu 存储库中。安装它的唯一方法是从官方网站下载二进制文件,然后运行安装文件。

Therefore, visit the official FreeFileSync download page and download the tarball file for Linux by clicking on it as shown below.

因此,请访问官方 FreeFileSync download page,单击下载 Linux TARBALL 文件,如下所示。

或者,您也可以复制该链接并使用 wget 命令下载它,如下所示。请注意,在您参考本指南时,版本号可能不同,因此,请替换版本号以对应最新版本。

$ wget https://freefilesync.org/download/FreeFileSync_11.28_Linux.tar.gz

(3) 解压下载的安装文件

Once the download is complete, navigate to the file location and extract it using below tar command

下载完成后,使用下面的 tar 命令提取它

$ tar -xvf FreeFileSync_11.28_Linux.tar.gz

安装文件已经带有执行权限,因此,您不需要分配执行权限。

(4) 安装 FreeFileSync

要安装 FreeFile Sync,只需运行如下所示的安装文件。

$ sudo ./FreeFileSync_11.28_Install.run

输入 y 并按 ENTER 接受许可条款

接下来,终端上将显示以下输出。保持默认设置,按 ENTER 键继续安装。

在短短几秒钟内,安装将完成,您将得到以下输出作为确认。

安装完成后,你会在 Ubuntu 桌面的右下角看到两个图标,如图所示。

要激活 FreeFileSync 桌面图标,右键单击它并选择允许启动

图标现在变成绿色,如图所示。要启动 FreeFileSync,只需双击图标。

FreeFileSync 桌面应用程序将弹出,关于弹出框显示了安装的 FreeFileSync 版本和项目的贡献者。

要访问仪表板,请单击 Close 按钮

这就是仪表板的样子

(5) 使用 FreeFileSync 同步文件

在本节中,我们将演示如何将文件从一个文件夹同步到另一个文件夹。这是我们的目录设置

  • Source folder : /home/linuxtechi/data
  • Destination folder : /home/linuxtechi/Documents

First, click the ‘Browse’ button in the first section and select the source folder. Similarly, click the ‘Browse’ button in the second section to select the destination directory in which the synchronization is going to occur.

首先,单击第一部分中的 Browse 按钮并选择源文件夹。类似地,单击第二部分中的 Browse 按钮选择目标目录。

最后,单击 Synchronize 按钮。

下一步,单击 Start 启动文件同步进程

这可能需要一段时间,具体取决于同步文件的大小。您应该看到一个进度表,说明同步是如何进行的。

一旦完成,请确认源文件夹和目标文件夹具有相同的文件

我的开源项目

作者:鸠摩智首席音效师原文地址:https://segmentfault.com/a/1190000043339210

%s 个评论

要回复文章请先登录注册