I am extracting names of directory at 5th column of tsv file ExtensionList.tsv
and I want to create symlinks to all those folders with names beginning with that located at ${HOME} inside Extension folder
awk -F'\t' '{print $5 }' ExtensionList.tsv \
| xargs -L 1 -I "{}" ln -s -f "${HOME}/{}"* Extension
Sample Tsv file
2 n xshrim.txt-syntax Txt Syntax xshrim.txt-syntax
I want to do (for all records in tsv file)
ln -s -f xshrim.txt-syntax* Extension
awk '{print $6}'
since the name you want is in column 6.-
toTxt Syntax
which was space seperated.awk
uses space or tab delimiters by default. Removing the-F"\t"
from your code works.