I have a text file that contains multiple lines of sources and targets.
Example:
"/home/desktop/aaa t" "/home/desktop/bbb"
"/home/desktop/ee e" "/home/desktop/aa/rr r"
I have tried this:
cat ../symlinks.txt | xargs -i{} -d\n ln -s {} but that seems to be broken, and ln does not seem to like that.
I need to create a lot of symlinks from a file to the target path, that symlinks to the source. How would I be able to do this, using bash? The paths are currently all surrounded in quotation marks and are a absolute path, since ln doesn't seem to be able to take relative paths.