Linking rather than copying page/static resources

Hi, is there a way to link to resources instead of copying them when building site (as opposed to running the server) ?
I willhave to self-host a website, so people can access multimedia archives with dozens if not hundreds of GBs. Problem is, I don’t much space in my disk. Enough for the archives, but not for twice that amount.
So rather than copying static/, it would be great if people could simply access it, with hugo linking its content into the build directory. Or something to that effect.
How else would you do this ?

No. But there’s Add hardlink support in /public by bep · Pull Request #15380 · gohugoio/hugo · GitHub

I need to think a little before merging that one, as it became a little more involved than I first thought (hard links means that you on some level modifies the source files).

dunno how this performs or is practical:

  • place your images in your build result folder public/images

  • make sure to not publish anything there when building

  • use public as website root folder

  • write a partial to recursively walk the tree using os functions.
    maybe a content adapter to create a list to traverse