← All questions

FileMapper: change file or folder names inside the zip

FileMapper lets you rename files and folders inside the generated archive without touching the objects in S3. It is a JSON object stored in your bucket that maps original names to new names:

{
  "photos": "vacation-2026",
  "report-draft.pdf": "report-final.pdf"
}

When the job runs, prefix matches are applied as the entries are written, so a folder can be renamed and files can be renamed individually. Pass the file's location the same way you pass file paths (bucket-relative key).

The mapping file is read at zip time, so you can keep different mappings per client or per project.

← All questions · Ask us anything