podracer script update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I should probably rename this one as podrun since it uses podracer but 
actually does a run for the user each time it's executed.  Below is the 
update I've done to the script and I did it since I like to keep tabs on 
how large my podcasts directory tree gets so when I want to burn I have 
enough CD;'s.
cut here.
#!/bin/bash 
# file: podracer.sh - front-end for podracer
/usr/bin/podracer
if [ -f $HOME/.podracer/tempsub ]; then
rm $HOME/.podracer/tempsub
fi
l1=`date -R`
l2=`du -hc $HOME/podcasts | tail -1`
l3=$l1+" "+$l2
echo $l3 >>$HOME/podracer.log

Cut here.





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux