Syntax
Parameters
string
required
Path to the archive file
string
required
Current name of the file in the archive
string
required
New name for the file
Basic Usage
Rename Single File
Rename Multiple Files
Examples
Rename with Path
Batch Rename
Important Notes
PerformanceRenaming files in solid archives may require recompression of the entire solid block, which can be slow for large archives.
Use Cases
Correct Filename Errors
Reorganize Archive Structure
Normalize File Extensions
Scripting Example
Advanced Usage
Rename with Pattern
Date-based Renaming
Error Handling
File Not Found
Name Conflicts
Limitations
Exit Codes
Alternatives
Extract, Rename, Recompress
For complex renaming or unsupported formats:Best Practices
Related Commands
- List Command - List files to rename
- Update Command - Update files in archive
- Delete Command - Delete files from archive