Compare files in two directories

view story

http://www.unix.com – Hi All, I have two directories that has some files, some of the files are common to both of them like : Code: ls -l dir1 file1 file2 file3 Code: ls -l dir2 file1 file2 file3 file4 file5 Now i want to get the files from dir2 that are not present in dir1 (means i want to get file3,file4,file5). I can do the same with a script but looking for something smaller and more standard. (HowTos)