in reply to Re^2: Compare 2 arrays
in thread Compare 2 arrays
It may be that your file lists files to be removed where I assumed it listed files to be kept. You can tell that from the name of the keepList variable. You simply need to change keepList to removeList and change the sense of the exists test.
Look at the code. Think about the code. Read the documentation for anything you don't understand. If you still can't figure it out, come back and ask about the elements of the code you don't understand.
|
|---|