Hi , I'm looking for a function to replace a file with newer version if available.
Folder A has - ABC.txt
Folder B has - ABC.txt
Replace Fold A -> ABC.txt with Fold B-> ABC.txt if Fold B->ABC.txt is newer than fold A file. Otherwise retain only Fold A file.
Can u pls suggest me some perl functions to do this?!