diff options
author | EuAndreh <eu@euandre.org> | 2025-04-30 06:23:27 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-30 06:33:36 -0300 |
commit | 61ffa8466bbfa4ca8b13b442a3bd63ef9504a6da (patch) | |
tree | fc3c799bece509682b712f6e42e2816059c83c7a /src/content/en/tils/2020/11/08/find-broken-symlink.adoc | |
parent | Makefile: No need to remove non-generated *.mo files (diff) | |
download | euandre.org-61ffa8466bbfa4ca8b13b442a3bd63ef9504a6da.tar.gz euandre.org-61ffa8466bbfa4ca8b13b442a3bd63ef9504a6da.tar.xz |
src/content/en/: Unpluralize collection names
Diffstat (limited to 'src/content/en/tils/2020/11/08/find-broken-symlink.adoc')
-rw-r--r-- | src/content/en/tils/2020/11/08/find-broken-symlink.adoc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/content/en/tils/2020/11/08/find-broken-symlink.adoc b/src/content/en/tils/2020/11/08/find-broken-symlink.adoc deleted file mode 100644 index 624d24a..0000000 --- a/src/content/en/tils/2020/11/08/find-broken-symlink.adoc +++ /dev/null @@ -1,25 +0,0 @@ -= Find broken symlinks with "find" -:categories: shell - -:annex: https://git-annex.branchable.com/ -:annex-wanted: https://git-annex.branchable.com/git-annex-wanted/ - -The `find` command knows how to show broken symlinks: - -[source,sh] ----- -find . -xtype l ----- - -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,sh] ----- -git annex wanted . 'exclude=Music/* and exclude=Videos/*' ----- - -You can `find` any broken symlinks outside those directories by querying with -Git Annex itself, but `find . -xtype l` works on other places too, where broken -symlinks might be a problem. |