How to compare new version exist of two path directory.
for e.g., path1 - /user/path/test/
path2 - /user/path/score/
If its exist new version then copy that new version into the first path directroy. How will do this.
How to compare new version exist of two path directory.
for e.g., path1 - /user/path/test/
path2 - /user/path/score/
If its exist new version then copy that new version into the first path directroy. How will do this.
You have to loop through the files from one directory and compare it with other one using -newer option of find command if its new copy or move the new file to the other directory..
Need that script
---------- Post updated at 08:07 AM ---------- Previous update was at 07:11 AM ----------
To get help:
This will help people understand what you are trying to do, keep us from trying to read your mind.