The manual · 5 of 14
Choosing what syncs
Leave files out with an ignore file, and see what never syncs and what travels with each file.
On this page
Everything in a shared folder syncs, unless you say otherwise. To leave things out, such as caches, build output or your editor’s scratch files, you’ll list them in an ignore file. Ignore files are being built now, with syncing on one network from the command line.
The ignore file
An ignore file is a plain text file named .syncignore. It can sit in any folder inside the shared folder, and it covers that folder and everything below it; a deeper one overrides a shallower one. It lists one pattern per line, like these (the rules are the same as git’s .gitignore):
# Lines starting with # are notes
*.tmp
build/
/todo.txt
**/cache/
!keep.tmp
*.tmpleaves out every file ending in.tmp, at any depth.build/leaves out every folder namedbuild, with everything in it./todo.txtleaves outtodo.txtonly beside the ignore file, not deeper down.**/cache/leaves out acachefolder at any depth.!keep.tmpbrings back a file an earlier line left out.
The app will open these files for you to edit, show the rules that apply to any file and say why a file is left out. A starter list will cover the usual clutter: .DS_Store, Thumbs.db, desktop.ini and editors’ swap files.
It syncs, so everyone shares it
A .syncignore file is an ordinary file in the folder, so every device that holds the folder follows the same rules. That also means anyone with the write key can change it, and so decide what syncs for everyone.
Your device’s own list
For junk that only one device makes, each device will also have a list of its own that doesn’t sync. LicketySync will follow both: the folder’s files and your device’s list, added together.
When a synced file becomes ignored
Adding a file that already syncs to an ignore list doesn’t delete it anywhere: every device keeps its copy, and changes simply stop travelling. To get rid of such files everywhere, delete them first, wait until every device has caught up, then add them to the list.
What never syncs
- LicketySync’s own hidden folder,
.licketysync, at the top of each shared folder. It holds a marker, the folder’s ID (never a key), this device’s settings for the folder, its archive and downloads still in progress. The list of files that LicketySync keeps lives elsewhere, in the app’s own data folder. - A shared folder inside another. The outer one leaves it alone, and the app will show it as synced separately, so the two can have different keys and people.
- A drive plugged in inside the folder. LicketySync won’t sync into it, and will say so.
- Shortcuts to other places (symbolic links). At first they’re skipped, with a notice. Before version 1.0 they’ll sync as links wherever the system supports them, and LicketySync will never follow one.
- A file whose name your system can’t hold, such as a name with a
:on Windows, can’t be written there. LicketySync keeps the entry, shows it as “cannot be stored here” and never treats it as deleted. An optional escaping scheme, per device and off by default, will be able to store such names under another spelling.
What travels with a file
Its contents and its modified time, always. Its permissions, where the disk supports them (on Windows, just “read-only”), unless you turn that off.The rest of a file’s details
Choosing what each device keeps
Later, you’ll be able to keep only some of a folder’s files on a device. The device will still list every file, and fetch any of them when you ask, ahead of everything else. “Free up space” will remove a file only while another connected device holds a full copy, so the copy you free up is never the only one around. The devices you share the folder with will be able to tell which files you keep. Features shows when it comes.
For the curious. The threat model’s TM-4 says how every file on the disk is reached, ignore files included: through one path checker that never follows a link.