diff options
Diffstat (limited to 'src/content/tils/2020/11/08/find-broken-symlink.adoc')
-rw-r--r-- | src/content/tils/2020/11/08/find-broken-symlink.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/tils/2020/11/08/find-broken-symlink.adoc b/src/content/tils/2020/11/08/find-broken-symlink.adoc index 9b44036..624d24a 100644 --- a/src/content/tils/2020/11/08/find-broken-symlink.adoc +++ b/src/content/tils/2020/11/08/find-broken-symlink.adoc @@ -6,7 +6,7 @@ The `find` command knows how to show broken symlinks: -[source,shell] +[source,sh] ---- find . -xtype l ---- @@ -15,7 +15,7 @@ This was useful to me when combined with {annex}[Git Annex]. Its {annex-wanted}[`wanted`] option allows you to have a "sparse" checkout of the content, and save space by not having to copy every annexed file locally: -[source,shell] +[source,sh] ---- git annex wanted . 'exclude=Music/* and exclude=Videos/*' ---- |