Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Append timestamp to all new files?

Topic Labels: Automations
309 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi there, is it possible to append a timestamp to all files when they upload? For example, if a user uploads a file like this:

my_file.pdf

then it would automatically be renamed to something like this:

yyyymmddhhmmss-my_file.pdf
(i.e. 20210313182406-my_file.pdf)

Just to pull back and explain my rationale: using a formula field, i need to compare the upload dates of the files to the current date, related to a proof-of-residency solution i’m attempting to build.

Thanks for any help!

1 Reply 1

Instead of appending onto the file names, could you just create a modified date field that updates itself whenever the attachment field gets modified? This is native functionality that is built into Airtable.