Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
3 answers
1k views

Recursively list path of files only

Why I have two folders that should contain the exact same files, however, when I look at the number of files, they are different. I would like to know which files/folders are present in one, not the ...
Oll's user avatar
  • 113
2 votes
1 answer
2k views

Diffing two directories recursively based on checksums?

I'm trying to find what files don't exist by a checksum of their content. I have two directories /foo and /bar, both of these directories represent arbitrary states on the system, I want to find all ...
Evan Carroll's user avatar
  • 34.9k
9 votes
2 answers
13k views

Recursively compare directories with summary on different contents without examining file contents' differences

I want to compare the contents of two directories, recursively, showing which files are missing from one or the other, and which files have different content. But I don't want output on the ...
Jayy's user avatar
  • 227
1 vote
2 answers
7k views

How to recursively side by side diff directories with line numbers in the diff in unix?

My scenario is to perform side by side diff directories using: diff -ry <folder1> <folder2> along with the line numbers in the diff output. By default line numbers are not displayed in ...
Ronit Mishra's user avatar
0 votes
2 answers
366 views

check two partitions by selecting random files and running sha1 hashes on two files of each partition

A previous answer to a post mentions to run sha1 hashes on an images of a dd drive clone image. Another answer to that post suggests mounting the dd image an then compare if the sha1 hashes of "...
mrsteve's user avatar
  • 103
3 votes
0 answers
322 views

One way diff between 2 directories

I am looking to perform a diff between 2 directories, both of which contain may files and subdirectories. I am hoping to perform a one-way diff between a source and target directory that will return ...
DJ180's user avatar
  • 301
3 votes
3 answers
692 views

Track daily directory changes (and email them)

I have a Debian powered NAS server (ReadyNAS) with a deep file hierarchy. I'd like to get notified daily about what has changed in some of its directories and their subdirectories. So if someone ...
Dae's user avatar
  • 133