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.

10 lines
205 B
Bash

#! /bin/sh
echo "fuck"
for noteDir in "$1/notes/*"; do
echo $noteDir
noteName=$(echo $noteDir| cut -d'/' -f3)
sed -i "#Resources/attachments#notes/$notename#" $noteDir/indx.md
echo $noteName
done