Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Aug 26, 2019 06:12 PM
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
May 23, 2021 10:37 PM
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.
May 24, 2021 05:37 AM
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.
Jun 02, 2021 04:06 PM
wget is not natively available in MacOS terminal, this command however is:
xargs -n 1 curl -O < sources.txt
Jul 12, 2021 07:01 PM
This is brilliant and so helpful. The problem some fellow Mac users were experiencing is that wget is not installed by default on MacOS.
Aug 22, 2021 02:15 AM
It will NOT work for multiple attachments in field.
With Copy column you get only first attachment url in every row.
regards
Mar 31, 2022 03:59 AM
Thanks, i like to see any solution without constraints. Thanks for your ideas and time for sharing.
May 03, 2022 03:24 AM
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.
May 03, 2022 04:05 AM
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.
May 03, 2022 09:59 AM
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
Jun 14, 2023 03:26 PM
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?