ipfs / ipfs/kubo

Have symlinks referring to a valid CID get turned into a native link to that CID (as a file/folder)

Open
#9,596 1 comment 0 reactions 0 assignees View on GitHub
kind/feature
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

### Checklist

- [X] My issue is specific & actionable.
- [X] I am not suggesting a protocol enhancement.
- [X] I have searched on the [issue tracker](https://github.com/ipfs/kubo/issues?q=is%3Aissue) for my issue.

### Description

This may be a shot in the dark, but, when i've uploaded a few big files to my IPFS node, i realise that i want to rearrange some names and some other files in such a folder, but do not want kubo to have to have those files cached locally to "know" that they're duplicates, or a future kubo chunking change re-add the files again, under different blocks.

To be sure about this, I thought about the following; what if a symlink refers to a valid CID (which would become a broken symlink in linux), kubo would recognise that, and instead of adding a symlink, add a link to that CID/file as-if it was native?

This way, I can manipulate a folder full of large files with ease, not needing those to have downloaded locally, and be sure that kubo's chunking algorithm will not duplicate adding the folder.

Note: I am aware of MFS, but for this, I'd like to handle this through version control and/or backups, as that is a more transparent and reversible process for me at this point.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.