Added a script to help develop with less blog entries

This commit is contained in:
Yann Esposito (Yogsototh) 2011-09-27 11:52:04 +02:00
parent c2c6ae4493
commit 042dd69bf7

15
tasks/devel-clean.sh Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env zsh
webroot=$HOME/Sites/webroot
print $webroot
print -- "Clean content's blog"
for fic in $webroot/content/html/??/blog/*(N); do
print "[d] $fic"
rm -rf $fic
done
print -- "Clean multi/blog"
for fic in $(print -l -- $webroot/multi/blog/*(N) | head -n -4); do
print "[d] $fic"
\rm -rf $fic
done