From 39909b2987a384ec874ebb8a5bd056b535a24dd1 Mon Sep 17 00:00:00 2001 From: Nicco Date: Mon, 20 Feb 2023 13:26:43 +0100 Subject: [PATCH] Create diff --- docs/cli/diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/cli/diff diff --git a/docs/cli/diff b/docs/cli/diff new file mode 100644 index 0000000..983159d --- /dev/null +++ b/docs/cli/diff @@ -0,0 +1,12 @@ +--- +tags: + - diff +--- + +# 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.