Added a script to help develop with less blog entries
This commit is contained in:
parent
c2c6ae4493
commit
042dd69bf7
1 changed files with 15 additions and 0 deletions
15
tasks/devel-clean.sh
Executable file
15
tasks/devel-clean.sh
Executable 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
|
||||
|
Loading…
Reference in a new issue