4

I found this question already, which has a lot of good answers, but as far as I can tell none of the programs listed compare only the filenames. What program can I use to compare two directories and list which files only exist in one or other directory?

I would strongly prefer a GUI, but I'm quite capable of using command line if I must.

Additional Info

I have a lot of files (in the range of 125,000+ per directory), so the tool MUST NOT compare the contents of the files, only the filenames, or it'll take forever.

Clonkex
  • 1,684

3 Answers3

4

I would use a simple method, install the tree command:

sudo apt-get install tree

Run the following commands in a terminal:

tree folderA > folderA.txt
tree folderB > folderB.txt

Then use a GUI diff tool such as meld to compare both listings.

0

You can try dupeGuru

dupeGuru is a tool to find duplicate files on your computer. It can scan either filenames or contents. The filename scan features a fuzzy matching algorithm that can find duplicate filenames even when they are not exactly the same.dupeGuru

Mitch
  • 109,787
0

Gnome Commander has a built-in feature of Compare Directories (shortcut Shift+F2).

The different files are marked after comparison (red in the screenshot).

See screenshot: enter image description here

XoXo
  • 101
  • 3