Files

Usine provides modules for file operations (copy, delete, rename, zip), reading and writing text files, listing folder contents, and manipulating filename strings. These modules are essential for building patches that interact with the file system.

Categories

Category Modules Description
File Operations 6 Copy, delete, rename files, create/extract ZIP archives, and detect USB drive insertion
Text File I/O 2 Read and write text files
File Listing 3 Scan folders, select files manually, and split results into sublists
Filename Utilities 8 Extract or remove path, name, extension, get temp paths, and platform delimiter

File Operations

Copy, delete, rename files, and work with ZIP archives.

Module Description
File Copy Copy one or more files to a destination (supports comma-text for multiple files)
File Delete Delete one or more files (supports comma-text for multiple files)
File Rename Rename a file to a new name
File Zip Create a ZIP archive from files or an entire folder
File UnZip Extract files from a ZIP archive to a destination folder
File Drive Insert Notification Send a trigger when a removable drive or USB key is inserted (Windows only)

Text File I/O

Read and write text files for data persistence and configuration.

Module Description
File Open Text File Read a text file and output its contents as string or comma-text
File Save Text File Save comma-text or string data to a text file

File Listing

Scan folders for files and build file lists for samplers, playlists, and batch processing.

Module Description
File Lister Scan a folder and return all matching files as comma-text (filterable by type, name filter, recursive search)
File Lister Split Same as File Lister but splits results into N sublists
File List Manager Manually select files and build a comma-text list (ideal for sound banks and playlists)

Filename Utilities

Parse and manipulate filename strings: extract or remove parts, get system paths.

Module Description
Filename Extract Path Extract the directory path from a full filename
Filename Extract Name Extract the filename only, removing the directory path
Filename Extract Extension Extract the file extension
Filename Delete Extension Remove the file extension from a filename
Filename Get Temp Filename Generate a temporary filename in the system temp folder
Filename Get Temp Folder Return the path to the system temporary folder
Filename Path Delimiter Return the platform path separator (\ on Windows, / on macOS/Linux)
Filename Usine Path Return the Usine installation directory path

See also

version 7.0.250121

Edit All Pages