refern.

Workspaces and files

Set up workspaces on normal folders, follow changes on disk, recover missing files, use the Trash and Undo, move files between workspaces, and check supported formats.

This guide explains how refern stores your library and how to manage files safely. Shortcuts use Windows and Linux keys. On macOS, use Cmd for Ctrl and Option for Alt. You can change every default key in Settings > Shortcuts.

Normal folders, not a managed library

Some reference apps keep a managed library: they copy each file into their own storage, and you reach your files only through the app. refern does not work that way.

  • A refern workspace is a set of normal folders on your disk, called root folders (or content roots).
  • refern indexes your files where they are. It does not move or copy your originals into its own storage to index them.
  • You keep your own folder structure. Other apps, backups and your file manager still see the same files.
  • refern keeps its own data (the library database, previews and backups) in a data folder. Your tags, notes, ratings and links live there.
refern dataWhat it holds
refern-db.sqliteThe library database: files, folders, tags, links and notes.
refern-thumbnails/Generated previews.
refern-backups/Automatic database snapshots and repair records.
refern-web-archives/Saved copies of bookmarked web pages.
.refern-trash/Created in each root folder when you delete something.

Do not name one of your own folders refern-thumbnails. refern needs that name.

Create, open and switch workspaces

Create a workspace

  1. On the workspace screen, choose Create Workspace (or New beside Workspaces).
  2. Enter a Workspace name and, if you like, Notes.
  3. Under Where should refern keep its data?, choose one option:
    • With your files (default): refern adds its data at the top level of your folder. Your existing files stay unchanged.
    • In a separate folder: choose an App data folder outside your file folders. Choose this to use several folders or drives.
  4. Under File folders, choose the folder of your files.
  5. Optional: open Advanced settings to choose the Thumbnail size and the File types shown.
  6. Choose Create workspace.

If the folder already holds a refern library, refern asks to adopt it, so your tags and data come back.

Open and switch

  • The workspace screen ("Welcome back") lists your Profiles and Workspaces. Choose Open, or Open in new window to use two workspaces at the same time.
  • Each window holds one workspace. Opening a workspace that is already open brings its window to the front.
  • To switch, choose the workspace tile at the top of the sidebar (Switch Workspace).
  • To see the workspace screen at every launch, turn on Open Workspace Selector on Launch in Settings > General.

Edit, recover or remove a workspace

Hover over a workspace card for Recover workspace, Edit workspace and Delete workspace.

  • Delete workspace removes the workspace from refern's list only. Your files, the data folder, the database and the backups stay on disk.
  • Move (in Edit workspace > App data) moves the data folder to a new place. It is available after indexing finishes.

Cloud-synced drives and network drives

If the data folder is on OneDrive, iCloud, Dropbox, Google Drive or a network drive, refern shows a note: sync apps and network drives can interrupt refern while it saves your library. Choose Keep data on this computer to keep the library data local while your images stay where they are, or Keep as is.

Do not copy a live data folder between computers by hand. To use a library on several computers, see Cloud and sharing.

Multi-root workspaces

One workspace can combine several root folders, for example a references folder, a photo archive on an external drive and a 3D asset folder.

  1. Keep the workspace data In a separate folder. Multiple folders need it. If the data is in your content folder, use Move under App data first.
  2. Open Edit workspace.
  3. Choose Add another folder and pick the folder.
  4. Optional: choose Edit alias to give a root a short name, and drag roots to change their order.

Rules for root folders:

  • No two root folders can be the same folder, or one inside the other.
  • The data folder must be outside every root folder.
  • Hide Root (in the root's menu in the sidebar) takes a root out of browsing, search and counts. Its files stay indexed.
  • Remove from Library... removes everything refern knows about that root: tags, ratings, canvases and previews. It cannot be undone. Files on disk are not touched.
  • Re-point is for a root folder that you moved or renamed. Choose the new place and refern reconnects the whole folder, with its tags.

Automatic sync with disk

refern follows your root folders by itself. When you add, change, rename, move or delete files outside refern, the library updates without a dialog. Only the changed places are read again. A full sync runs when the workspace opens.

  • The Sync button in the top bar spins while a sync runs.
  • Sync automatically (in the Sync menu) is on by default. When it is off, refern shows "File changes detected." with Resync.
  • Resync with Disk (Ctrl+Shift+R) scans the whole workspace. The workspace waits until the scan finishes.
  • Renames that the system reports keep the same item, with its tags and notes. On macOS, refern matches renamed files by content instead.
  • A sync never deletes or trashes anything. Files that are gone are marked Missing.
  • A root folder that is offline (for example an unplugged drive) marks nothing missing. It is synced again when it comes back.

Missing files and Quick Locate

When a file leaves the disk, its item stays in the library with a Missing badge. It keeps its tags, notes and links. When the file comes back to the same place, the next sync clears the badge.

If you moved or renamed a file outside refern, refern matches it to its item by content when exactly one file matches. If it cannot be sure, it does not guess.

Find and fix missing files

  1. Search for is:missing, or choose the Missing tile on Home.
  2. Choose Locate the file... on an item. Quick Locate opens a list titled "Files that may be this one".
  3. Each candidate shows a match score and reasons such as Same content, Same size, Same dimensions and Similar name. A 100% match means the same content.
  4. Choose a candidate. The item is back on that file with its tags. You can undo it.
  5. If the file is outside your root folders, choose Browse... and pick it yourself.

Relocate many files at once

  • A whole folder moved: use Re-point in Edit workspace to point the root at its new place.
  • Files moved inside your folders: run Resync with Disk. refern pairs files it can match by content. If missing items and new files are left over, a dialog lets you pair them by hand.
  • Files you deleted on purpose: in the Missing files list, choose Remove # items from library. This touches no files.

Quick Locate searches only your root folders. It skips hidden folders, system folders and file types the workspace does not show.

Trash and restore

Deleting in refern moves the file into a .refern-trash folder inside its own root folder. refern does not use the system Recycle Bin or the macOS Trash.

  • Move to Trash: press Delete for the selection, D for the item under the pointer, or drag items onto Trash in the sidebar.
  • Restore puts the file back where it was. If the name is taken, choose Keep both to add a number.
  • Delete permanently and Empty Trash delete files from your disk. They cannot be undone.
  • The Trash does not empty itself. There is no retention period.
  • A move, rename or Replace never overwrites a file. A replaced file goes to the Trash.

Undo and Redo

One history per workspace covers tags, sidebar details, creators, groups, links, folders, Smart Folders, moves, renames, copies, imports, Trash and restore, crops, trims, markers, Locate and duplicate keeps.

ActionWindows and LinuxmacOS
UndoCtrl+ZCmd+Z
RedoCtrl+Shift+ZCmd+Shift+Z
  • The history keeps 30 steps.
  • The Undo button in a toast does the same step.
  • An undo checks first. A move goes back only if every item is still where the move put it.
  • Undoing a copy or an import moves the new files to the Trash. It does not delete them.
  • The history does not survive a restart or a workspace switch.

Copy, move and rename

ActionKey
Move to folderM
Copy to folderC
Add linked copies to folderL
Rename hovered itemR
Rename, or give the selection numbered namesF2
Cut, then paste in another folder to moveCtrl+X, Ctrl+V

Drag items onto a folder to move them. Hold Ctrl (Cmd on macOS) to copy, or Alt (Option on macOS) to add linked copies. A badge under the pointer tells you what the drop will do.

When names clash, refern asks once: Keep both, Skip incoming, Add a linked copy here (identical files only) or Replace existing.

Linked copies

A linked copy shows one file in several folders. It has no file of its own: it shares the original's file, tags and details, and it uses no extra disk space. Edits stay in sync across the original and all linked copies.

  1. Select items and press L, or choose Add linked copy to folder....
  2. Or hold Alt (Option on macOS) while you drag items onto a folder. On Linux, Ctrl+Shift also works.

Things to know:

  • A linked copy shows a Linked copy badge. To make a copy the original, use Make original in the metadata sidebar.
  • You cannot rename, crop or trim a linked copy. Do it on the original.
  • Trashing the original takes its linked copies with it. Restoring brings them back.
  • Trashing a linked copy leaves the original and its file.

Copy or move to another workspace

You can copy or move files and folders into another workspace, with their tags, creators, notes and links.

  1. Select items and press C (Copy to folder) or M (Move to folder).
  2. In the folder picker, open the Workspace dropdown and choose the other workspace. The dropdown shows when you have more than one workspace.
  3. Choose a folder in that workspace.
  4. Keep Include tags, creators, notes, and links on (default) to carry them.
  5. Choose Copy here or Move here.

For a move, refern makes the copy in the other workspace first. Then the originals go to this workspace's Trash.

Undo and Redo a transfer

Press Ctrl+Z (or the toast's Undo) in the source workspace to undo, and Ctrl+Shift+Z to redo.

  • Undo is whole or nothing. It puts the arrived items in the other workspace's Trash, and brings a move's originals back from this workspace's Trash.
  • Undo is refused ("Nothing was changed.") if an arrived file was changed, moved or renamed since, or if the other workspace cannot be reached.
  • Opening the other workspace ends the history, as any workspace switch does.

Limits

  • The other workspace must have been opened once, and its data folder must be reachable.
  • Items whose file is not on this computer (missing or online-only) are refused.
  • A moved folder stays in the source if it holds files that are not library items.
  • Linked copies arrive as independent files. Canvases, Smart Folders, Trash state and Missing state are not transferred.

Duplicates and close variants

Find duplicates

  1. Open Review in the sidebar and go to Find duplicates.
  2. Under What counts as a duplicate, choose one:
    • Same file (default): files with the same content, wherever they are and whatever their names.
    • Similar: images that look alike, also at another size or format. Use the How alike slider.
  3. Under Where, choose Whole library or Folders.
  4. Run the scan. Each set shows its files.
  5. In each set, choose Keep this on the copy to keep, then Move # others to Trash or Replace others with linked copies. Turn on Merge their tags, notes and links into the kept item to keep their details.

Things to know:

  • Same file compares every byte before a file goes to the Trash. A file that is not the same stays.
  • Keep one in all sets... (Same file scans only) resolves every set in one step, and one Undo brings everything back.
  • Not duplicates marks a set as intended variations, so later scans do not show it.
  • Duplicates review cards show images sharp, also when a tag would blur them in the grid.
  • Similar can put flat, single-color images in one set. Check those sets before you trash anything.
  • No Auto Tagger model is needed.

Find close variants

Right-click one image and choose Find close variants to see crops, resizes and re-saves of it, closest first. It only shows matches. It does not trash or merge anything.

Backups and recovery

refern snapshots each workspace's database while it is open, and checks it for damage in the background.

  • Snapshots run after 500 changes or every 15 minutes. refern keeps up to 5 per device.
  • Find them in Settings > Diagnostics > Backups and Recovery: Back Up Now, Restore from Backup..., Verify Integrity, Export as JSON... and Import from JSON....
  • If the database is damaged, refern repairs it or restores the newest valid backup. The damaged file is kept.
  • A restore brings back the library as it was at that snapshot. Later edits are lost. The next sync reconciles the files on disk.

JSON archive export (NDJSON)

Export as JSON... saves the whole library database as a portable .zip archive. Import from JSON... replaces the database with an archive. Archives from older refern versions are brought up to date on import.

The archive holds library data only, not your image files or previews. To give files to someone, use a refern pack. See Importers and the clipper.

If a workspace cannot open

refern shows a recovery screen instead of an empty library. Choose Repair, Restore from backup, Import from JSON archive... or Rebuild from files.... If a drive or folder is offline, choose Retry or Point to folder. An offline folder never starts a fresh, empty library.

Supported file formats

Each workspace chooses which file types it shows in Advanced settings > File types shown. Turning a type off hides those items. It does not delete files or metadata.

GroupExtensionsPreview and notes
Imagesavif, jpg, jpeg, jfif, png, apng, gif, webp, bmp, tiff, tif, svg, ico, cur, heic, heifDecoded by refern. Animated GIFs play in the grid. APNG shows a still frame. HDR is not shown faithfully.
RAW cameradng, cr2, cr3, nef, arw, orf, rw2, raf, sr2, pefShows the embedded camera preview. refern does not develop RAW sensor data.
Art filespsd, psb, kra, krz, clip, procreate, oraShows a flattened preview. Layers are not shown. Procreate shows the file's stored thumbnail. A PSD saved without "Maximize compatibility" may show only a small preview.
Asepriteaseprite, aseBuilt-in "Aseprite & Swatch Previews" extension, on by default.
Fontsttf, otf, woff, woff2Built-in "Font Specimens" extension, on by default. ttc and eot use the system preview.
Videomp4, mkv, mov, avi, webm, flv, wmv, m4v, 3gp, mpg, mpeg, ogv, and morePoster frame and a hover storyboard. On Linux, .deb and .rpm installs need your distribution's codecs.
PDFpdfFirst page as the preview. Opens in refern's PDF reader.
3D modelsglb, gltf, obj, fbx, stl, ply, dae, 3mf, 3dsRendered preview and a 12-angle hover turntable. Needs WebGL. blend, c4d, usd, usdz and CAD files use the system preview only.
Audiomp3, wav, flac, aac, m4a, ogg, opus, aiff, wma, and moreCover art or a waveform card. MIDI stays a generic file.
Notesmd, markdown, txtA paper card from the first lines. The text is searchable.
Bookmarksurl, webloc, desktop linksA cover from the page. Always shown.
Other filesAffinity, SAI, Illustrator, office files, archives, code, and any custom extensionThe system preview where your computer has one, or a file-type icon.

Things to know:

  • Documents, archives, and code and web files are off by default. Turn them on in File types shown, or choose All files.
  • Images larger than 256 MB (64 MB on macOS) show "Too large to preview". Open them in their default app.
  • A preview marked Low res is smaller than the file. The file stores only a small preview, or your system has no app that makes a larger one.
  • Use Refresh preview in the right-click menu to make a new preview. Use Settings > General > File Previews > Retry after you install an app that adds previews to your system.
  • Making a preview can download a OneDrive or iCloud file that is online only.

Feature guide

A map of every major refern capability in desktop v1.13 and refern Cloud, with links to the full guide for each.

Find a reference

Browse with six view modes, move around with tabs and split view, search with operators and filters, find colors and meanings, and save searches as Smart Folders.

On this page

Normal folders, not a managed libraryCreate, open and switch workspacesCreate a workspaceOpen and switchEdit, recover or remove a workspaceCloud-synced drives and network drivesMulti-root workspacesAutomatic sync with diskMissing files and Quick LocateFind and fix missing filesRelocate many files at onceTrash and restoreUndo and RedoCopy, move and renameLinked copiesCopy or move to another workspaceUndo and Redo a transferLimitsDuplicates and close variantsFind duplicatesFind close variantsBackups and recoveryJSON archive export (NDJSON)If a workspace cannot openSupported file formatsRelated guides