I have a file that contains a set of paths
~/somedir/pathfile.foo
--------------------------
/home/user/dir/file1.bar
/home/user/dir/file2.bar
/home/user/dir/file3.bar
/home/user/dir/file4.bar
...
I would to write a bash script (or command) that would create symbolic links to all these .bar
files within the current directory (.). For clarification, if pathfile.foo
contains N paths I would like to have N symlinks.