{"id":13336,"date":"2019-04-01T20:36:30","date_gmt":"2019-04-01T20:36:30","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13336"},"modified":"2019-04-01T20:36:30","modified_gmt":"2019-04-01T20:36:30","slug":"freefilesync-compare-and-synchronize-files-in-ubuntu","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/freefilesync-compare-and-synchronize-files-in-ubuntu\/","title":{"rendered":"FreeFileSync \u2013 Compare and Synchronize Files in Ubuntu"},"content":{"rendered":"<p><strong>FreeFileSync<\/strong>\u00a0is a free, open source and cross platform folder comparison and synchronization software, which helps you\u00a0<a href=\"https:\/\/www.tecmint.com\/rsync-local-remote-file-synchronization-commands\/\" target=\"_blank\" rel=\"noopener\">synchronize files and folders on Linux<\/a>, Windows and Mac OS.<\/p>\n<p>It is portable and can also be installed locally on a system, it\u2019s feature-rich and is intended to save time in setting up and executing backup operations while having attractive graphical interface as well.<\/p>\n<h4>FreeFileSync Features<\/h4>\n<p>Below are it\u2019s key features:<\/p>\n<ol>\n<li>It can synchronize network shares and local disks.<\/li>\n<li>It can synchronize MTP devices (Android, iPhone, tablet, digital camera).<\/li>\n<li>It can also synchronize via\u00a0<a href=\"https:\/\/www.tecmint.com\/sftp-command-examples\/\" target=\"_blank\" rel=\"noopener\">SFTP (SSH File Transfer Protocol)<\/a>.<\/li>\n<li>It can identify moved and renamed files and folders.<\/li>\n<li>Displays disk space usage with directory trees.<\/li>\n<li>Supports copying locked files (Volume Shadow Copy Service).<\/li>\n<li>Identifies conflicts and propagate deletions.<\/li>\n<li>Supports comparison of files by content.<\/li>\n<li>It can be configured to handle Symbolic Links.<\/li>\n<li>Supports automation of sync as a batch job.<\/li>\n<li>Enables processing of multiple folder pairs.<\/li>\n<li>Supports in-depth and detailed error reporting.<\/li>\n<li>Supports copying of NTFS extended attributes such as (compressed, encrypted, sparse).<\/li>\n<li>Also supports copying of NTFS security permissions and NTFS Alternate Data Streams.<\/li>\n<li>Support long file paths with more than 260 characters.<\/li>\n<li>Supports Fail-safe file copy prevents data corruption.<\/li>\n<li>Allows expanding of environment variables such as %UserProfile%.<\/li>\n<li>Supports accessing of variable drive letters by volume name (USB sticks).<\/li>\n<li>Supports managing of versions of deleted\/updated files.<\/li>\n<li>Prevent disc space issues via optimal sync sequence.<\/li>\n<li>Supports full Unicode.<\/li>\n<li>Offers a highly optimized run time performance.<\/li>\n<li>Supports filters to include and exclude files plus lots more.<\/li>\n<\/ol>\n<h3>How To Install FreeFileSync in Ubuntu Linux<\/h3>\n<p>We will add official\u00a0<strong>FreeFileSync PPA<\/strong>, which is available for\u00a0<strong>Ubuntu 14.04<\/strong>\u00a0and\u00a0<strong>Ubuntu 15.10<\/strong>\u00a0only, then update the system repository list and install it like so:<\/p>\n<pre><strong>-------------- On Ubuntu 14.04 and 15.10 -------------- <\/strong>\r\n$ sudo apt-add-repository ppa:freefilesync\/ffs\r\n$ sudo apt-get update\r\n$ sudo apt-get install freefilesync\r\n<\/pre>\n<p>On Ubuntu 16.04 and newer version, go to the\u00a0<a href=\"http:\/\/www.freefilesync.org\/download.php\" target=\"_blank\" rel=\"nofollow noopener\">FreeFileSync download page<\/a>\u00a0and get the appropriate package file for Ubuntu and Debian Linux.<\/p>\n<p>Next, move into the Download folder, extract the FreeFileSync_*.tar.gz into the\u00a0<strong>\/opt<\/strong>\u00a0directory as follows:<\/p>\n<pre>$ cd Downloads\/\r\n$ sudo tar xvf FreeFileSync_*.tar.gz -C \/opt\/\r\n$ cd \/opt\/\r\n$ ls\r\n$ sudo unzip FreeFileSync\/Resources.zip -d \/opt\/FreeFileSync\/Resources\/\r\n<\/pre>\n<p>Now we will create an application launcher (<strong>.desktop<\/strong>\u00a0file) using\u00a0<strong>Gnome Panel<\/strong>. To view examples of\u00a0<code>.desktop<\/code>files on your system, list the contents of the directory\u00a0<strong>\/usr\/share\/applications<\/strong>:<\/p>\n<pre>$ ls \/usr\/share\/applications\r\n<\/pre>\n<p>In case you do not have\u00a0<strong>Gnome Panel<\/strong>\u00a0installed, type the command below to install it:<\/p>\n<pre>$ sudo apt-get install --no-install-recommends gnome-panel\r\n<\/pre>\n<p>Next, run the command below to create the application launcher:<\/p>\n<pre>$ sudo gnome-desktop-item-edit \/usr\/share\/applications\/ --create-new\r\n<\/pre>\n<p>And define the values below:<\/p>\n<pre><strong>Type<\/strong>: \t   Application \r\n<strong>Name<\/strong>: \t   FreeFileSync\r\n<strong>Command<\/strong>:   \/opt\/FreeFileSync\/FreeFileSync\t\t\r\n<strong>Comment<\/strong>:   Folder Comparison and Synchronization\r\n<\/pre>\n<p>To add an icon for the launcher, simply clicking on the spring icon to select it:\u00a0<strong>\/opt\/FreeFileSync\/Resources\/FreeFileSync.png<\/strong>.<\/p>\n<p>When you have set all the above, click OK create it.<\/p>\n<div id=\"attachment_25049\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/Create-Desktop-Launcher.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25049\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/Create-Desktop-Launcher.png\" alt=\"Create Desktop Launcher\" width=\"435\" height=\"229\" aria-describedby=\"caption-attachment-25049\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25049\" class=\"wp-caption-text\">Create Desktop Launcher<\/p>\n<\/div>\n<p>If you don\u2019t want to create desktop launcher, you can start FreeFileSync from the directory itself.<\/p>\n<pre>$ .\/FreeFileSync\r\n<\/pre>\n<h3>How to Use FreeFileSync in Ubuntu<\/h3>\n<p>In Ubuntu, search for\u00a0<strong>FreeFileSync<\/strong>\u00a0in the\u00a0<strong>Unity Dash<\/strong>, whereas in\u00a0<strong>Linux Mint<\/strong>, search for it in the\u00a0<strong>System Menu<\/strong>, and click on the\u00a0<strong>FreeFileSync<\/strong>\u00a0icon to open it.<\/p>\n<div id=\"attachment_25050\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/FreeFileSync-launched.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25050\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/FreeFileSync-launched.png\" sizes=\"auto, (max-width: 1046px) 100vw, 1046px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/FreeFileSync-launched.png 1046w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/FreeFileSync-launched-768x529.png 768w\" alt=\"FreeFileSync \" width=\"1046\" height=\"721\" aria-describedby=\"caption-attachment-25050\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25050\" class=\"wp-caption-text\">FreeFileSync<\/p>\n<\/div>\n<h4>Compare Two Folders Using FreeFileSync<\/h4>\n<p>In the example below, we\u2019ll use:<\/p>\n<pre><strong>Source Folder<\/strong>:\t\/home\/aaronkilik\/bin\r\n<strong>Destination Folder<\/strong>:\t\/media\/aaronkilik\/J_CPRA_X86F\/scripts\r\n<\/pre>\n<p>To compare the file time and size of the two folders (default setting), simply click on the\u00a0<strong>Compare<\/strong>\u00a0button.<\/p>\n<div id=\"attachment_25051\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/compare-two-folders.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25051\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/compare-two-folders.png\" alt=\"Compare Two Folders in Linux\" width=\"676\" height=\"573\" aria-describedby=\"caption-attachment-25051\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25051\" class=\"wp-caption-text\">Compare Two Folders in Linux<\/p>\n<\/div>\n<p>Press\u00a0<code>F6<\/code>\u00a0to change what to compare by default, in the two folders: file time and size, content or file size from the interface below. Note that the meaning of the each option you select is included as well.<\/p>\n<div id=\"attachment_25052\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/comparison-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25052\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/comparison-settings.png\" alt=\"File Comparison Settings\" width=\"667\" height=\"508\" aria-describedby=\"caption-attachment-25052\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25052\" class=\"wp-caption-text\">File Comparison Settings<\/p>\n<\/div>\n<h4>Synchronization Two Folders Using FreeFileSync<\/h4>\n<p>You can start by comparing the two folders, and then click on\u00a0<strong>Synchronize<\/strong>\u00a0button, to start the synchronization process; click\u00a0<strong>Start<\/strong>\u00a0from the dialog box the appears thereafter:<\/p>\n<pre><strong>Source Folder<\/strong>: \/home\/aaronkilik\/Desktop\/tecmint-files\r\n<strong>Destination Folder<\/strong>: \/media\/aaronkilik\/Data\/Tecmint\r\n<\/pre>\n<div id=\"attachment_25053\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/compare-and-sychronize-two-folders.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25053\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/compare-and-sychronize-two-folders.png\" alt=\"Compare and Synchronize Two Folders\" width=\"599\" height=\"547\" aria-describedby=\"caption-attachment-25053\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25053\" class=\"wp-caption-text\">Compare and Synchronize Two Folders<\/p>\n<\/div>\n<div id=\"attachment_25054\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/start-sychronization.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25054\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/start-sychronization.png\" alt=\"Start File Synchronization\" width=\"595\" height=\"549\" aria-describedby=\"caption-attachment-25054\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25054\" class=\"wp-caption-text\">Start File Synchronization<\/p>\n<\/div>\n<div id=\"attachment_25055\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/synchronization-complete.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25055\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/synchronization-complete.png\" alt=\"File Synchronization Completed\" width=\"640\" height=\"544\" aria-describedby=\"caption-attachment-25055\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25055\" class=\"wp-caption-text\">File Synchronization Completed<\/p>\n<\/div>\n<p>To set the default synchronization option: two way, mirror, update or custom, from the following interface; press\u00a0<code>F8<\/code>. The meaning of the each option is included there.<\/p>\n<div id=\"attachment_25056\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/synchronization-setttings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25056\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/synchronization-setttings.png\" alt=\"File Synchronization Settings\" width=\"667\" height=\"508\" aria-describedby=\"caption-attachment-25056\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25056\" class=\"wp-caption-text\">File Synchronization Settings<\/p>\n<\/div>\n<p>For more information, visit FreeFileSync homepage at\u00a0<a href=\"http:\/\/www.freefilesync.org\/\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/www.freefilesync.org\/<\/a><\/p>\n<p>That\u2019s all! In this article, we showed you how to install FreeFileSync in Ubuntu and it\u2019s derivatives such as Linux Mint, Kubuntu and many more. Drop your comments via the feedback section below.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/freefilesync-compare-synchronize-files-in-ubuntu\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeFileSync\u00a0is a free, open source and cross platform folder comparison and synchronization software, which helps you\u00a0synchronize files and folders on Linux, Windows and Mac OS. It is portable and can also be installed locally on a system, it\u2019s feature-rich and is intended to save time in setting up and executing backup operations while having attractive &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/freefilesync-compare-and-synchronize-files-in-ubuntu\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;FreeFileSync \u2013 Compare and Synchronize Files in Ubuntu&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13336","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13336"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13336\/revisions"}],"predecessor-version":[{"id":13337,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13336\/revisions\/13337"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}