From 39909b2987a384ec874ebb8a5bd056b535a24dd1 Mon Sep 17 00:00:00 2001 From: Nicco Date: Mon, 20 Feb 2023 13:26:43 +0100 Subject: [PATCH 1/2] 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. From 64a76f137cc687333e1c9af3daa2169923fcdc9b Mon Sep 17 00:00:00 2001 From: Nicco Date: Mon, 20 Feb 2023 13:26:56 +0100 Subject: [PATCH 2/2] Rename diff to diff.md --- docs/cli/{diff => diff.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/cli/{diff => diff.md} (100%) diff --git a/docs/cli/diff b/docs/cli/diff.md similarity index 100% rename from docs/cli/diff rename to docs/cli/diff.md