tags:
- storage
title: What is Sync?
permalink: what-is-syncSync.com offers secure cloud storage, ensuring your data is safe and accessible.
Sync cannot exclude any files from backup. There is no concept of a .syncignore file or anything like that.
Git repositories have many files, like historical versions of files and Python virtual environments. They take up a lot of space and are not needed by the current project.
Use an rsync script to periodically send files to a Sync directory.
source_dir="${1}"
target_dir="${2}"
rsync ${source_dir} ${target_dir} \
--recursive \
--filter="dir-merge,- .gitignore" \
--exclude=".git" \
--exclude=".venv"
Schedule the script to run each day with a cron task.