Re: Tool to compare directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2013-01-28 at 15:32 +0100, Suvayu Ali wrote:
> On Mon, Jan 28, 2013 at 06:16:16AM -0600, Bruno Wolff III wrote:
> > On Mon, Jan 28, 2013 at 11:49:29 +0000,
> >   Paul Smith <phhs80@xxxxxxxxx> wrote:
> > >Dear All,
> > >
> > >Could you please advise me on a tool to compare two directories? That
> > >is a tool able to identify the files of the first directory that are
> > >missing in the second one?
> > 
> > You can use diff -r to recursively compare directories.
> 
> I use this instead:
> 
>   $ rsync -rvnc --delete <olddir> <newdir>

AFAIK --delete flags files from the target which are not present in the
source, which is the reverse of what the OP is asking for, so maybe the
two directories should be inverted.

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux