Question: Write a script that compares two directories bar1 and bar2 (supplied as arguments) and copies or overwrites to bar1 from bar2 every file that is
Write a script that compares two directories bar1 and bar2 (supplied as arguments) and copies or overwrites to bar1 from bar2 every file that is (i) not present in bar1, (ii) newer than its namesake in bar1. (Hint: Use the find command.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
