I have one text file with names of a bunch of
.txt files (not full path names) that exist in a directory. Each of the files, have a (full) path to another file which I would like to delete.
Suppose I have a file named "
list.txt" and in it there are names of text files
pathtodelete1.txt pathtodelete2.txt something else that is the same as pathtodelete.txt
Each one of these files has a one path stored inside, for example
I have tried putting together
xargs in many ways with no success.