[plug] Merging two directories

Ben Keith bjkeith at gmail.com
Mon Oct 12 14:48:37 WST 2009


If a GUI tool is at all an option then give KDiff a try.

You can run it against directories then look at each file diff individually
and manage the merge operations manually.

I have used it on SMB mounted remote folders without problem.

HTH,

Ben

On Mon, Oct 12, 2009 at 2:32 PM, Gregory Orange <gregory.orange at gmail.com>wrote:

> 2009/10/12 Shanon Loughton <autobot at iinet.net.au>:
> > HI all
> > I need to merge two directories, which are fairly large ~4GB each.
> > A copy of the original dir (dir2) was taken two weeks from the
> > original (dir1) and altered over that time.  Need to merge dir2 back
> > into dir1.  I can find differences with diff or find.
> > Some files are newer and *smaller* which are suspect and need to be
> > manually analysed, thus either flagged or left alone by the tool.
> >
> > Anyone know a good tool I could use??
>
> Personally I'd put together a script using find and diff and 'lt'/'gt'
> (or whatever the bash/<insert-chosen-shell-or-language> directive is)
> to move in newer bigger files, delete identical files, and output a
> list of newer smaller files.
>
> --
> Gregory Orange
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20091012/99cda6bd/attachment.html>


More information about the plug mailing list