Is there any way to delete files in one directory, say directory A, that are NOT in another directory, say directory B? I'm looking for something similar to the depends attribute in the FTP tag.
For example, if file 1 and file 2 were in directory A, but directory B only contained file 2, then I'm looking for something that would just delete file 1. Thanks, Eric
