SmartFITS is a file and metadata management utility for PixInsight. Scan an entire folder tree once, then rename files in bulk, edit FITS header keywords, or move files — all from a single interface, all with preview, validation and confirmation before anything is written to disk.
The script operates in three modes. In Rename mode, you can find and replace text in filenames, add a prefix or suffix, or build new filenames from scratch using a template system with placeholders drawn from FITS header values and fixed text you enter — for example, renaming an entire session's worth of files to a consistent format based on their actual metadata.
In FITS mode, you can edit header keywords in bulk across any selection of files: set a keyword to a new value, add a keyword that doesn't exist yet, delete a keyword, or rename one. Operations can be saved as named presets and reapplied in future sessions — useful for correcting recurring metadata issues from your capture software.
In Move mode, files can be relocated using a destination template, again with FITS keyword placeholders. This makes it easy to automatically sort a mixed folder of files into a structured hierarchy based on their actual content.
In all three modes, filters let you narrow the working set before applying any operation — by image type, filter name, filename fragment, or any FITS keyword with full operator support (=, ≠, >, <, contains). Every pending change is shown as a preview in the file list before you commit.