diff --git a/export-notes.sh b/export-notes.sh index d8becac..5f1fa02 100755 --- a/export-notes.sh +++ b/export-notes.sh @@ -11,6 +11,7 @@ SOURCE_BASE="$HOME" NOTES_ROOT="notes/courses" +DEST_REL="" SECTION_DIR="" SHARE_REL="" DEBUG=0 @@ -27,6 +28,8 @@ Options: --source-base PATH Base directory where notes root begins (default: \$HOME) --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)