AutoFileSync keeps single files, directories or whole directory trees in sync between two places – on your own computer, on a network drive, a USB drive, a machine reachable over SSH, in the cloud or on your Android phone. Set it up, start it, forget it.
Developed and maintained by Welsch Software – as free software for everyone.
Anyone who needs files on more than one device or drive knows the problem: the backup on the USB drive is weeks old, the NAS holds a different state than the laptop, and when copying by hand it is easy to overwrite the newer version.
AutoFileSync takes this work off your hands: you define once which folders belong together, and the program keeps them in sync automatically – in both directions if you wish, in the background and with protection against accidental deletion.
Automatic synchronisation and backup that you can set up without reading a manual.
Every task is set up as a synchronisation: source, target, what to compare and how to handle special cases. All synchronisations together form the configuration, which is saved as a file.
It is run from within the program – once or continuously – or by a background service that uses the same configuration and works even when nobody is logged in.
AutoFileSync is a project by Welsch Software and fully open source: it is licensed under the GNU General Public License, version 3 or later. Everyone may use the program free of charge, read, modify and redistribute its source code – privately as well as commercially.
The complete source code is available for download here. Bug reports, requests and contributions are welcome by e-mail. Welsch Software develops the program free of charge – voluntary contributions help to cover the costs.
Built for robustness, intuitive use and unattended operation.
A single file, a directory or a whole tree with all its subdirectories. Wildcards restrict what is compared.
Source or target may live on a NAS, a server or another computer in your home network. Remote directories can be browsed in the dialog, passwords are stored encrypted.
Backs up into the folders of Dropbox, OneDrive, Google Drive, Nextcloud or iCloud Drive, depending on the operating system. WebDAV servers such as Nextcloud and storage with an S3 interface are accessed by AutoFileSync directly – as a source or target, in both directions too.
Synchronises without the window being open – even when nobody is logged in. Service and program share the configuration and never get in each other's way.
Generations keep older versions, deletions go to a recycle bin, and an unplugged drive is never mistaken for “everything deleted”.
Compare by date, size or content, two-way synchronisation, move instead of copy and a configurable way of handling deleted or newer target files.
A log with a selectable level, e-mail notification on severe errors and a backup record in JSON format that proves when what was backed up.
Pair it with your PC by QR code – then the phone backs up photos to the PC, keeps folders in sync or fetches music, in the background and, if you like, only on Wi-Fi and while charging.
Changes are picked up seconds after you save them. Two-way sync carries over deletions and renames, conflicts are kept as a copy, and a safeguard prevents accidental mass deletions.
Tell an AI assistant what is to be backed up – it sets up the synchronisation, finds errors in the log and controls the background service.
Mind your privacy: the names and paths of your synchronisations go to the provider of the AI. The page names the risks.
Choose source and target – two folders, a USB drive, a network drive, a computer over SSH, cloud storage or an Android phone – and decide whether to sync in one or in both directions.
The preview shows what a run would copy, move or delete before anything changes.
Once, continuously in the program or through the background service. Changes in local folders are picked up seconds after saving.
In a few minutes the video shows how a photo collection is backed up to a USB drive and then kept up to date automatically.
Ready-made packages for Windows, macOS and Linux and the Android app are available right here. If you prefer, download the source code and build it yourself.
All files with size and SHA-256 checksum are listed on the downloads page. What changed from version to version is on the releases page.
Windows 10 & 11
Apple Silicon & Intel
Debian, Ubuntu and relatives
Android 8.0 or later
C++20, CMake and wxWidgets. Build instructions for every platform are included in the source. The source code is licensed under the GNU GPL v3.
No. AutoFileSync is free software under the GNU General Public License, version 3 or later. It is not sold, there is no paid edition, and you do not need an account.
Over SSH: AutoFileSync runs on one of the two computers, and the other must be reachable over SSH (SFTP), that is, run an SSH server. You log in with user name and password or with a key file. Alternatively, a shared folder can be mounted as a network drive and used like a local folder.
Yes. A mounted network drive or a USB drive is treated like a local folder; a NAS can also be reached over SSH or WebDAV. If the drive is not connected at the moment, the synchronisation is skipped – an unplugged drive is never mistaken for “everything deleted”.
Yes, in three ways. Cloud folders: in the dialog of a synchronisation, “Cloud…” next to the target shows the folders that the cloud providers' programs have created on the computer; AutoFileSync copies into them and the provider's program does the uploading. WebDAV: Nextcloud, ownCloud, many NAS devices and web hosts can be used directly as a source or target. S3: so can storage services with an S3 interface such as Amazon S3, Backblaze B2, Wasabi or MinIO. FTP is not supported.
Through the cloud folder: the provider's program must be installed and signed in, then you choose its folder as the target with “Cloud…”. Dropbox and Nextcloud are detected on all systems, OneDrive and Google Drive on Windows, and iCloud Drive and further providers on macOS. No account or sign-in in AutoFileSync is needed for this. Signing in to Google Drive, OneDrive and Dropbox directly in the browser – without the provider's program – is in preparation and not yet set up in the published packages.
For Nextcloud, ownCloud and other WebDAV servers, choose “File → New WebDAV connection…” and enter address, user name and password; for Nextcloud and ownCloud the address of the server is enough. The connection always uses https. For S3, “File → New S3 connection…” asks for endpoint, region and the two keys; the bucket is then chosen like a folder. Both are also suitable for two-way synchronisation and the generation principle. Nextcloud and ownCloud adopt the modification time of the files, other WebDAV servers do not.
That is up to you. With the generation principle the previous version of an overwritten file is kept in the target. By default, deleted files are moved to AutoFileSync's own recycle bin folder instead of disappearing for good. “Synchronisation → Restore files…” lists both and puts your selection back. On servers – over SSH, WebDAV or S3 – this recycle bin is not available; there, files are deleted directly, and whether anything can be restored depends on the server. In a two-way synchronisation a conflict copy is kept of a file that was changed on both sides. Generations and the recycle bin are only cleaned up when you set a limit: a maximum number of earlier versions per file and a number of days for the recycle bin.
Choose “File → Connect phone…” in the program and scan the QR code with the AutoFileSync app. PC and phone must be in the same local network; nothing is synchronised over the internet. At present the app is only available here on the website as an APK file, for Android 8.0 or later.
No. The program contains no telemetry and no update check. It only connects to the destinations you have set up yourself: SSH, WebDAV and S3 servers, your own phone and – for error notifications by e-mail – your mail server. Into a cloud folder AutoFileSync only copies locally; the provider's program does the uploading. The built-in assistant is an AI (a language model) that runs entirely on your computer; your questions do not leave it. The language model is not part of the package: only if you set up the assistant does the setup script download it once from Hugging Face (huggingface.co).
Interface and help are available in German, English, Spanish, French, Italian, Polish and Ukrainian. The language can be chosen in the settings.
AutoFileSync is developed and maintained by Welsch Software in Oberteuringen on Lake Constance, Germany. The program is deliberately open source: everyone should be able to back up their data reliably, without licence fees and without depending on a vendor.
AutoFileSync is a non-commercial community project: we answer questions about setup and operation by e-mail where we can, and requests and bug reports feed into further development.
AutoFileSync is and will remain free and open source. It is neither sold nor supported for a fee. If you would like to support its further development, there are three ways to do so.
If AutoFileSync is useful to you, Welsch Software appreciates a voluntary contribution via PayPal – you choose the amount, and it helps to cover the costs of development, hosting and maintenance. It is not a tax-deductible donation, and it does not entitle you to anything in return.
PayPal: joachim.welsch@posteo.de
Do you need a feature AutoFileSync does not have yet, or does something not fit your environment? Write to us. Requests are collected and, where possible, included in future versions – as free software for everyone.
Report bugs, suggest features, add translations or contribute code: an e-mail is all it takes. Contributions are licensed like the project itself, under the GNU GPL v3.