memoir/pages/cli/diff.md

8 lines
234 B
Markdown
Raw Normal View History

2023-02-20 12:26:43 +00:00
# See difference between files / directories
```bash
diff -ry dir1 dir2
```
The `-r` flag is to recurse into folders. The `-y` flag creates a side by side view, generally easier to read. `-q` Would only show what filenames changed.