add destination relative path

This commit is contained in:
ronnny abraham 2025-05-15 14:48:26 +03:00
parent cbf844cf87
commit 5ca4791f2a

View file

@ -11,6 +11,7 @@
SOURCE_BASE="$HOME"
NOTES_ROOT="notes/courses"
DEST_REL=""
SECTION_DIR=""
SHARE_REL=""
DEBUG=0
@ -28,6 +29,8 @@ Options:
--notes-root PATH Path from base to notes root (default: notes/courses)
--section-dir PATH Relative path under notes root to export (default: current directory)
--dest-rel PATH Relative path under the destination root to export
--share-rel PATH Relative path (from section-dir) to a shared _share directory (e.g. ../_share)
If provided, its contents will be copied to the DEST/_share folder (as a sibling)