localGPT icon indicating copy to clipboard operation
localGPT copied to clipboard

Add ingest folders with symlink

Open spaceymonk opened this issue 4 months ago • 5 comments

Hi, I wanted to propose a simple change in ingest script.

Reason behind it: I store my documents in a separate storage and instead of copying files I symlink them to SOURCE_DOCUMENTS folder. It works when I link documents one by one (i.e. giving full path for each file). But I have documents in nested folders and linking directories not work due to followlinks flag defaults to False. Documentation

The PR solves this problem.

spaceymonk avatar Feb 15 '24 11:02 spaceymonk