---
title: "Compare Directories In Bash"
description: "Today I needed to check for articles that used the same slug from two directories, bash made it super simple."
date: 2020-12-11
published: false
tags:
  - bash
  - tip
template: hot-tip
---


Today I needed to check for articles that used the same slug from two directories, bash made it super simple.

``` bash
diff -rq src/pages/blog src/pages/notes
```
