You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#! /bin/sh
|
|
|
|
notes=$(find $1 -type f -name "*.md")
|
|
for n in $notes; do
|
|
echo "Sanitizing: $n"
|
|
fn=$(cut -d'.' -f1 $n)
|
|
echo $fn
|
|
sed -i "#Resources\/attachments#notes\/$fn#" $n
|
|
done
|