← XeFM English | 日本語 · crftwr/xefm on GitHub · craftware

Tree Files (.xft)

English | 日本語

An .xft file holds groups of references to files: for example, the groups of similar videos a scan found. Each group lists files that may live in many different folders, on this computer or a server. Press Enter on a .xft file to browse it like an archive.

scan.xft/
  trip.mp4 (2)/            ← a group
    trip.mp4               ← stands for /Users/me/Movies/trip.mp4
    trip-small.mp4         ← stands for /Volumes/NAS/trip-small.mp4
    trip (copy).mp4
  logo.png (1)/
    …

You don’t write these files yourself. Programs write them: XeFM’s Find Similar Files does, through similar-files. The format is described in XFT_FORMAT.md for anyone writing such a program.

Browsing

Acting on the real files

Entries in the tree are references. They can’t be deleted or renamed there, because the tree is a record of what was found. To work on the real files:

The two sync_… actions have no menu item; run them from the command palette (Tools → Command Palette…) or on their key. Keys depend on your keymap preset — see Keymap Presets.

Trees that are still being written

A long scan rewrites its tree file every few minutes, so you can start looking before it finishes. While it is still running:

Groups of identical files are final as soon as they appear. Only similar-file groups can change.

See also