trganda / obsidian-attachment-management

Attachment Management of Obsidian
MIT License
142 stars 8 forks source link

Files are not moved to the destination folder when inside a symlink. #104

Open OMSmolina opened 4 months ago

OMSmolina commented 4 months ago

Files are not moved to the destination folder when inside a symlink.

I have a structure like this πŸ‘‡ with the files, file001.jpg, file002.png:

Obsidian Vault

- _Attachments
    - ProjectA (Symlink)
    - ProjectB (Symlink)
    - ProjectC (Symlink)
    - Tests
- ProjectA
    - Folder1
        - Document1.md (πŸ‘ˆ file001.jpg)
- ProjectB
- ProjectC
- Tests
    - Echo
        - Test.md (πŸ‘ˆ file002.png)

I have the default configuration, obsidian default attachments to: _Attachments image

The problem:

Obsidian Vault

- _Attachments
    - ProjectA (Symlink)
        - Folder1                          (βœ… folder created correctly)
            -                               (❌ Missing file001.jpg, IMG-???)
    - ProjectB (Symlink)
    - ProjectC (Symlink)
    - Tests
        - Echo                              (βœ… folder created correctly)
            - IMG-20240204131536485         (βœ… file002.png moved correctly)
    - file001.jpg                           (❌ NOT moved correctly, only to the _Attachments folder)
- ProjectA
    - Folder1
        - Document1.md (πŸ‘ˆ file001.jpg)
- ProjectB
- ProjectC
- Tests
    - Echo
        - Test.md (πŸ‘ˆ file002.png)