Help

Bulk Download of photos from an AirTable?

26759 40
cancel
Showing results for 
Search instead for 
Did you mean: 
David_Laufer
6 - Interface Innovator
6 - Interface Innovator

Is there a way to do a mass download of photos from my airtable? The Bulk Upload worked well, now I need to do the reverse! Thanks, All

40 Replies 40

In my case I didn’t know that code is avoided here (I’ll go so far as to say, seemingly kind of taboo) at all. I found this thread through a search, and I had been to the Airtable Automations category before, where Airtable scripts seem to be openly discussed.

I do consider a couple of shell commands to be on the low-code side personally, but of course experiences vary.

Oh, thank you very much for sharing your experiences, and for coming back and posting the correction. I’m sorry you did not feel welcome, and I hope that you will stick around.

Many Airtable users are no-code users, but certainly not all. In fact there are several people on these forums who enjoy code. Also, to be fair, the idea of your approach being “no code” was introduced by a different poster.

My comment was mostly to point out that the distinction between “code” and “no code” sometimes is an artificial one, depending on the point of view. The poster who called your shell commands “no code” is a highly experienced coder who writes code in text format, so two shell commands are not code to him. On the other hand, the poster who compared you shell commands to Unix considers himself a no-code user, even though he actually does write code, just not text based code.

Hard distinctions between code and no-code exist because no-coders are often afraid of code. However, the reality is that there is a huge gray area between code and no-code, and solutions like yours can help bridge the gap.

I think the emotions in this thread stem from the fact that the tone of your initial post says that you solution was quick and easy, but it was not quick and easy for the non-coder who tried it.

wget is not natively available in MacOS terminal, this command however is:

xargs -n 1 curl -O < sources.txt

This is brilliant and so helpful. The problem some fellow Mac users were experiencing is that wget is not installed by default on MacOS.

It will NOT work for multiple attachments in field.
With Copy column you get only first attachment url in every row.

regards

Thanks, i like to see any solution without constraints. Thanks for your ideas and time for sharing.

This is awesome, thank you. Indeed it should be xargs wget < sources.txt and if wget is not available on the mac a simple brew install wget works as you mentioned.
Maybe for it can also be helpful to remind ppl to save it as .txt and not as .rtf as it might add some extra formatting text on the file which will cause the download to fail.

It does not work because the sed is not accounting for the multiple links in one cell separated by a comma. Therefore it only gets the last link inside the parentheses.
In order to correct that I would first run sed to replace all commas with new lines like this:

sed -i "" 's/,/\'$'\n''/g' sources.txt

And then run the sed to get all the links inside parentheses like Orun has done:

sed -i "" "s/.*(\(.*\))/\1/" sources.txt

And then you can run the download command:

xargs wget < sources.txt

This should work to download all the files in the same cell.

The On2Air Backups can backup all your Airtable data, including attachments, to Google Drive, Dropbox, or Box

You can also check out The Essential Guide to Backups in Airtable

______________________________________
Hannah - On2Air.com - Automated Backups for Airtable

This is awesome, but many of the "sources" URLs don't contain the original filename. The CSV has the original name next to the URL, any suggestions on automating wget -O to force original name?