summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/manifest.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/manifest.rst b/doc/manifest.rst
index 6b72aa2..204dcdc 100644
--- a/doc/manifest.rst
+++ b/doc/manifest.rst
@@ -266,6 +266,25 @@ File with mirror + templated nodes
}
}
+Local directory checking for latest modification
+--------------------------------------------------------------------------------
+
+.. code:: text
+
+ soupault-plugins {
+ file {
+ url "file:///home/toastal/my-project"
+ }
+ latest-cmd {
+ $ printf "%s" "{{url}}"
+ | sed "s|^file://||"
+ | xargs find "-print0"
+ | xargs "-0" stat -c %Y
+ | sort -n
+ | tail -n1
+ }
+ }
+
Basic Pijul with BLAKE3 hash
--------------------------------------------------------------------------------