Autosave: 2024-02-25 19:38:14

This commit is contained in:
thomasabishop 2024-02-25 19:38:14 +00:00
parent 7867894082
commit efe2322f8c
4 changed files with 9 additions and 13 deletions

View file

@ -1,18 +1,15 @@
#!/bin/bash
# This script automatically commits/pull changes to the remote repository with a generic commit message.
# Automatically commits/pull changes to the remote repository with a generic commit message.
# It is aliased to `cs-update` in .zshrc
# ZK_PAT="/home/thomas/repos/eolas"
tidy_filenames="/home/thomas/repos/eolas/scripts/tidy_filenames.sh"
purge_images="/home/thomas/repos/eolas/scripts/purge_images.sh"
notes_path="/home/thomas/repos/eolas"
space_to_underscore="/home/thomas/repos/eolas/_scripts/space_to_underscore_filename.sh"
clean_image_directory="/home/thomas/repos/eolas/_scripts/clean_image_directory.sh"
cd $EOLAS_DIR
cd "$notes_path"
# Loop through directories and convert spaces in filenames to underscores
source ${space_to_underscore}
source ${clean_image_directory}
source ${tidy_filenames}
source ${purge_images}
git pull >/dev/null 2>&1

View file

@ -1,6 +1,6 @@
#!/bin/bash
# If there are images in _img/ that are not being used in the workspace, delete them
# If there are images in img/ that are not being used by the Zettelkasten, delete them
find /home/thomas/repos/eolas/_img -type f | while read filename; do
rg "${filename##*/}" ../ --type markdown >/dev/null 2>&1
if [ "$?" -eq 1 ]; then

View file

@ -4,8 +4,7 @@ tags: [binary, binary-encoding]
# Text encoding
Text encoding is an applied instance of
[binary encoding](Binary_encoding.md).
Text encoding is an applied instance of [binary encoding](Binary_encoding.md).
## ASCII