---
title: Synchronize two folders
project: TotalFiles
version: Latest
section: guides
language: en
license: 
url: https://totaljs.es/docs/totalfiles/latest/guides/synchronize/
updated: 2026-12-02T15:40:36.075Z
---

# Synchronize two folders

> Make a folder the same as another, copying only what is new or has changed. TotalFiles shows what it is going to do first.

## Synchronize

1. Open the two folders, one in each panel. One of them can be on a server.
2. Click in the one that has the good files. The arrows in the middle point to the other, which is the one that changes.
3. Press **Synchronize** between the panels.
4. Check **From** and **To**, and read the list.
5. Press **Synchronize**.

> Files go in one direction only, from **From** to **To**. What was changed only in the destination can be replaced by the older file if their sizes are different.

## What the list says

| It says | What happens |
| --- | --- |
| **new** | It is only in the source: it is copied |
| **changed** | Its size is different, or the one in the source is newer: it replaces the other |
| **only in the destination** | It stays, unless you choose to take it away |
| **a file on one side and a folder on the other** | Both are left alone |
| **could not be read, left alone** | Folders that are left out. What they hold in the destination stays |

The list shows the first 300. If you change something meanwhile, press **Compare again**.

Over FTP, only the sizes are compared, because FTP servers tell their times too roughly. A change that leaves the same size is not seen. The hidden files that you send are compared too, although many FTP servers do not list them.

## Take away what is not in the source

Mark **Also take away what is only in the destination** to make the two the same.

Nothing is taken away where TotalFiles does not see what the source has:

- in the place of a folder of the source that could not be read;
- in the place of a link of the source;
- the files whose name starts with a dot, when the source is an FTP server, because those servers do not list them.

## What is replaced or taken away

Nothing is lost:

- On your computer, it goes to the Trash.
- On a server, it goes to a folder with the date at the top of the destination: `.totalfiles-sync-…` over SFTP, which is hidden, and `totalfiles-sync-…` on the others.

Delete those folders when you no longer need them. They are never synchronized, and neither are the `.DS_Store` files of the Mac.

## While it works

**Stop** leaves it where it is: the files already copied stay. Synchronize again to go on with the rest.

If one fails, the others go on. At the end there is a list of those that failed, with the reason.

Over SFTP, the files that synchronizing replaces keep [their permissions](/totalfiles/latest/guides/permissions/).
