We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c33256 commit d530090Copy full SHA for d530090
1 file changed
_scripts/sh/sync_monitor.sh
@@ -5,11 +5,11 @@
5
# © 2019 Cotes Chung
6
# MIT Licensed
7
8
-# $1 -> the origin filen with absolute path.
+# $1 -> the origin file with absolute path.
9
# $2 -> the origin sync directory
10
# $3 -> the destination sync direcotry
11
12
-# Pass the system temp file
+# Omit the system temp file
13
if [[ ! -f $1 ]]; then
14
exit 0
15
fi
@@ -32,5 +32,6 @@ if [[ -f "$1" ]]; then
32
33
34
if [[ $related_dir == "_posts" ]]; then
35
- python $3/_scripts/py/pages_generator.py
+ python $3/_scripts/py/init_all.py
36
+ python $3/_scripts/py/update_posts_lastmod.py -f "$dest/$(basename $1)" -t fs
37
0 commit comments