dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


Linux - Compare two directories

Feb 18, 2009, 04:34 (0 Talkback[s])

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


[ Thanks to Jadu Saikia for this link. ]

"To copy the content of dir1 into dir2 without copying the files that are already exist and are the same, use rsync(faster, flexible replacement for rcp):

"$ rsync -a dir1/ dir2/"

Complete Story

Related Stories: