Help for beginning scripter to sync based on path and name only

I have two itunes libraries. One is Lossless, the other is AAC192. I want to take any files and or folders in the Lossless library and put them in the AAC library. I thought I could do this by comparing the files by path & name only. Obviously files size and time stamps will be different. Since there are songs of the same name in more than one album, the path part of the comparison matters, but I need to exclude the first part of the path (the directory of the entire library) from the comparison. Once I have the list of files in the Lossless library that are not present in the AAC library, I can have itunes convert them. I think I can do that part. Thanks.