Comparing two directories for missing directories

Mar 23 2014 9:00 AM MAR 23 2014 9:00 AM
Ubuntu | Terminal

I am working on a backup process for my wife's business. The problem we kee facing is, "Did we back this up?" and "We don't need to back everything up..." Part of this process I am working on is to insure that nothing goes missing... This command helps to make sure of this..

 

diff -q --exclude="Fantom" /Users/myusername/directory/ /Volumes/backup/ | grep "Only in" | grep "myusername" > out.txt

Tweets

Social Media

Categories