#!/usr/bin/php \n"; exit; } $path = $argv[1]; # Unhide the post if (!file_exists($path)) { echo "[error] $path not found\n"; exit; } copy($path, dirname($path) . '/.' . basename($path)); unlink($path); # Update the posts cache require_once 'init.php'; require_once 'lib_blog.php'; blog_crawl(true); ?>