Skip to content

Instantly share code, notes, and snippets.

@nickwynja
Created March 12, 2012 04:26
Show Gist options
  • Save nickwynja/2019786 to your computer and use it in GitHub Desktop.
Save nickwynja/2019786 to your computer and use it in GitHub Desktop.
[blog@secondcrack ~]$ sudo /home/blog/secondcrack/engine/update.sh /home/blog/Dropbox/Blog
## My output from update // "Expected filename mismatch:" leads me to believe I have something configured wrong? Not sure why it's working for you and not me.
/home/blog/secondcrack
Deleted file: /home/blog/Dropbox/Blog/drafts/test.txt
Expected filename mismatch:
filename: /home/blog/Dropbox/Blog/drafts/_publish-now/test.txt
expected: /home/blog/Dropbox/Blog/posts/2012/03/20120312-01-test.md
Publishing draft /home/blog/Dropbox/Blog/drafts/_publish-now/test.txt
Updating post: /home/blog/Dropbox/Blog/posts/2012/03/20120312-02-test.md
Resequencing post offsets for 2012-03-12
Updating frontpage...
Updating RSS...
Updating month index: 2012-03
Deleted file: /home/blog/Dropbox/Blog/drafts/_publish-now/test.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment