Page 1 of 1

Search inside a Text file and compare files in directories

Posted: 27 Sep 2008 04:38
by osramos
Hi,

i'm new in this forum and i need some assistance.

I have a text file where inside is 2 columns. One of Directories and another one with file. The goal is read the file and for each line do a "cd" for the directory and compare the name of the file within the TExt file with the one(s) inside the directory.

If there is files not equal to the ones i read from txt file, i shall move them.

Can anyone hel me ?

osramos

Posted: 30 Sep 2008 11:00
by greenfinch
Could you post a bit of the text file? It will be useful to see how the columns are separated.

Please post a bit within [ code ] tags