Using Aktar

Can I control file names and folders in my bucket?

Short answer

Yes. Every destination has an object path template. The default is {year}/{month}/{uuid}.{ext}, which gives unguessable names grouped by month.

Available variables:

  • {year}, {month}, {day}: date parts, such as 2026, 09, 27
  • {date}: 2026-09-27
  • {time}: 104215 (hours, minutes, seconds)
  • {filename}: the original file name without extension
  • {ext}: the file extension
  • {uuid}: a random UUID
  • {random}: 8 random characters

Example: screenshots/{date}/{filename}-{random}.{ext} becomes screenshots/2026-09-27/launch-hero-3f9a71c0.png. Keeping a random part in the path makes links hard to guess and avoids overwriting files with the same name.