Skip to content

Commit

Permalink
CU
Browse files Browse the repository at this point in the history
  • Loading branch information
vvasuki committed Aug 6, 2022
1 parent 0678563 commit 6d6f6ba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.local
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ Allowed formats in the order of decreasing preference: md (possibly with frontma
- When they are being proofread, they will be renamed: xyz_proofreading_.md or txt.
- When fully proofread, they will be: xyz.md or xyz.txt

## Generating a catalog
- On linux: `./make_catalog.sh`
- Replace `\n[\d.]+(.txt|.md)?\n` with ``.
5 changes: 5 additions & 0 deletions make_catalog.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

find . -regextype posix-extended -name "*" -not -regex ".*/(adyatithi|\.git|static)/.*" -not -regex ".*/[\d.-_]+\.(txt|md)?" -printf "%f\n" > catalog_ls.local

# find . -regextype posix-extended -name "*" -not -regex ".*/(adyatithi|\.git)/.* -printf "%f\n" > catalog_ls.local

0 comments on commit 6d6f6ba

Please sign in to comment.