Flatsonar

Stencil

by René Fouquet

Rename batches of files

Broad permissions Verified creator GPL-3.0-or-later v1.6.0
Screenshot 1 of Stencil Screenshot 2 of Stencil Screenshot 3 of Stencil Screenshot 4 of Stencil Screenshot 5 of Stencil

About

Stencil is a batch file (and directory) renamer for GNOME. Build a rename queue from stackable operations and preview every result before you commit.

Operations include:

  • Number - add a sequential counter
  • Set Extension - change, normalize or remove the extension
  • Insert Text - add text before, after or at a position
  • Find & Replace - literal or regular-expression replacement
  • Change Case - lower, upper, title or sentence case
  • Trim & Remove - drop characters and clean up whitespace
  • Date & Time - prefix or suffix a formatted timestamp
  • Music Tags - build names from embedded audio tags (artist, title, album, track number, …) using a token pattern like {track} - {title}
  • Image Tags - build names from Exif metadata (capture date, camera, lens, dimensions, exposure settings, …) using a token pattern like {year}-{month}-{day} {camera}
  • Video Tags - build names from video container metadata (recording date, resolution, duration, codec) using a token pattern like {year}-{month}-{day} {width}x{height}
  • Folder Name - insert the name of a containing folder, from the immediate parent up to any number of levels

Save your operation queues as presets, import and export them, and undo any rename.

Permissions

1 permission weaken the sandbox. Flatsonar asks before installing.

  • full access to your home folder
    --filesystem=home
  • inter-process communication (needed for X11)
    --share=ipc
  • X11 display, only when Wayland is unavailable
    --socket=fallback-x11
  • Wayland display
    --socket=wayland
  • GPU acceleration
    --device=dri
  • access to /media
    --filesystem=/media
  • access to /run/media
    --filesystem=/run/media
  • access to /mnt
    --filesystem=/mnt
  • access to xdg-run/gvfs
    --filesystem=xdg-run/gvfs
  • talks to org.gtk.vfs.*
    --talk-name=org.gtk.vfs.*

Who publishes this

The creator demonstrably controls this app id: Flathub verification, the hosting account owns the namespace, or a well-known file on their domain.

  • verified on Flathub: the developer proved they control this app id
    publisher:flathub

Maintenance

Recent activity on the upstream repository, or built and reviewed by Flathub.

No staleness signals: recent activity, or built and reviewed by Flathub.