im very new in Linux, please advice me to make symbolik links of files of a folder, but just the files that are listed in the text file.
are wrote in this way:
for FN in $(head -$COUNT $INFILE | cut -d ";" -f 1 | tr '[A-Z]' '[a-z]')
ln -s $SDIR$PREFIX$FN.xz $TDIR$PREFIX$FN.xz
the text file which is our list, is like this
but i get this error
exportlink.sh: line 8: syntax error near unexpected token `$'do\r''
'xportlink.sh: line 8: `do
Thank you in advance.