Skip to content

Type

type is the default strategy for any directory without a .sift.toml, and never reads file contents — only the extension, case-insensitively.

[organize]
strategy = "type"
unknown = "other" # or "skip"

See Classification for the full category table (Documents, Images, Audio, Video, Archives, 3D, Code, Data, Other, Junk).

Controls what happens to a file with an extension type doesn’t recognize:

  • "other" (default) — organized into Other/.
  • "skip" — left in place, untouched.

type fully supports --recursive — see Recursive Organization. It’s one of only two strategies that do (the other is date); the four metadata strategies below don’t.

Reading metadata instead of just the extension:

  • Date — filesystem modification time.
  • Audio — artist/album/genre tags.
  • Video — resolution, codec, optionally duration/fps.
  • Photos — EXIF camera and capture date.
  • Documents — PDF/Office author and creation date.