What options in BRU cause the file contents to be read?

Post any Bulk Rename Utility support requirements here. Open to all registered users.

What options in BRU cause the file contents to be read?

Postby Admin » Tue Jul 01, 2025 3:59 am

In Bulk Rename Utility (BRU), file content is read in these cases:

1. JavaScript Renaming Engine
- You can write scripts that access file metadata and properties, including reading EXIF data from image files, ID3 tags from MP3s, and file hashes (e.g., MD5, SHA256).
- Functions like `exif("value")` and `fileProperty("name")` read metadata embedded in the file content.
- Hash value tags (e.g., `<(hash:md5)>`) compute hashes by reading file content.

2. EXIF and ID3 Tag Extraction
- Sections like Add (7) support extracting EXIF tags from JPEG, TIFF, Nikon, Canon files, and ID3 tags from MP3 files. This requires reading file content to get metadata.

3. Hash Value Tags
- When using hash tags (crc32, md5, sha1, sha256, sha3, keccak) in renaming fields, BRU reads the file content to compute these hashes.

Other renaming options (prefix/suffix, numbering, case changes, regex, find/replace) operate on file names and metadata only, without reading file content.

Summary:
- File content is read when extracting EXIF/ID3 metadata or computing hashes.
- JavaScript renaming scripts can also read file metadata and content-based properties.
- Regular renaming controls do not read file content.
Admin
Site Admin
 
Posts: 2946
Joined: Tue Mar 08, 2005 8:39 pm

Return to BRU Support