Adds the ability to index folder and re-populate the db
Misc: The arguments are now sorted alphabetically in the main funciton close #4
This commit is contained in:
parent
5863d5a58f
commit
d70f5398a3
3 changed files with 31 additions and 12 deletions
|
@ -44,8 +44,6 @@ updateFileChange(){
|
|||
[ ! -e "$filename" ] && die "No such file $1"
|
||||
title="$(getYamlTitle "$filename")"
|
||||
newFilename="$(escapeFilename "$title.md")"
|
||||
echo "Filename: '$filename'
|
||||
new filename: '$newFilename'"
|
||||
if [ "$filename" = "$newFilename" ]; then
|
||||
# The title hasn't changed
|
||||
# check if the file is in the DB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue