Sample Header Ad - 728x90

How to Create batch SYMLinks

0 votes
0 answers
83 views
I'm installing legacy Termux on an Android 6.0 device. I downloaded the legacy app- and the legacy packages. There is a txt file with all the symlinks that need to be created. I'm looking for a way to make all the links in one batch run. Either with bash or some other way. This is the format that the file is in
-open←./bin/xdg-open
gawk←./bin/awk
dash←./bin/sh
xzgrep←./bin/xzfgrep
xzdiff←./bin/lzdiff
xzgrep←./bin/lzgrep
xzgrep←./bin/lzegrep
xz←./bin/unxz
xzmore←./bin/lzmore
/data/data/com.termux/files/usr/bin/bzdiff←./bin/bzcmp
/data/data/com.termux/files/usr/bin/bzmore←./bin/bzless
I searched around on the net and have only found a way to make links from one folder with many files to another folder with the same names of the files. but as you can see from the sample above I need different names and also different folders. Thank You
Asked by Sruly (1028 rep)
Aug 6, 2020, 09:56 PM
Last activity: Aug 9, 2020, 02:43 PM