This is extremely helpful I will give a shot using dropbox. On Wednesday, November 4, 2020 at 2:58:47 AM UTC-8 [email protected] wrote:
> With both my nodejs and single file wikis I import images normally and > then occasionally run a script that moves them to an external directory and > creates a placemarker tiddler with a canonical uri: > > > #!/bin/bash > > myyear=$(date +"%Y") > mymonth=$(date +"%m") > > tiddlywiki --save [is[image]!tag[header-img]!moved[yes]] > [addprefix[./images/$myyear/$mymonth/]] \ # moves image to directory based > on year/month > --setfield [is[image]!tag[header-img]!moved[yes]] > _canonical_uri $:/blog/templates/canonical-uri-external-image text/plain > > tiddlywiki --setfield [is[image]!moved[yes]] text > $:/blog/templates/empty_text text/plain \ > --setfield [is[image]!moved[yes]] moved > $:/blog/templates/moved_field text/plain > > Setting a field to 'moved' is crucial because otherwise tiddlywiki will > perform this operation on an emptied image and overwrite the original. > > So locally you could move the files to a synced folder or on a server it > might be a bit more complicated. > > > On Monday, November 2, 2020 at 9:52:41 PM UTC-5, Carlos R wrote: >> >> >> I am using nodejs version and I want a way to automatically upload files >> to a cloud storage service such as dropbox. Has anyone attempted this? I >> like to take screen shots with my notes and it's a bit cumbersome to have >> to manually link files/images. >> >> Thanks! >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/96edbbc3-70e4-4489-b270-bb3edb57c6c4n%40googlegroups.com.

