Filestore and add file with nocopy go-ipfs

Currently I’m working on ipfs filestore: I want to add files to ipfs without copying them but unfortunately I can’t do it.
Actually I have two problems, 1) It’s done with curl but not if the file is located somewhere else (not beside of .ipfs root folder)
curl ‘’ -F ‘file=@test.txt;headers=“Abspath: /home/shahriyar/test.txt”’ this works but
curl ‘’ -F ‘file=@test.txt;headers=“Abspath: /home/shahriyar/Desktop/test.txt”’ this one won’t work

  1. How can I add files to ipfs with --nocopy via go-ipfs?
    please help me.