no more drafts folder

master
muflax 2012-02-05 04:52:13 +01:00
parent 604a483540
commit 99a52a5324
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@
source ~/.zsh/path.sh
grep -roP "http://.*" content drafts | backup-urls
grep -roP "http://.*" content | backup-urls

View File

@ -11,7 +11,7 @@ hosts = [
"video.google.com",
]
urls = `grep -horP 'http://.*(#{hosts.join "|"})[^\"]*\\b' content/ drafts/ | sort -u`
urls = `grep -horP 'http://.*(#{hosts.join "|"})[^\"]*\\b' content/ | sort -u`
Dir.chdir "video-backup"
urls.split.each do |url|