Commit d8db3109 authored by swegryps's avatar swegryps

first commit

parents
*~
\ No newline at end of file
This diff is collapsed.
#!/bin/bash
case $# in
0) _mapp=.;;
1) _mapp=$1;;
*) printf "To many arguments\n"
exit;;
esac
find $_mapp -mindepth 1 -type d -empty -print -delete
printf "Deleted empty directorys\n"
#!/bin/bash
if test -e /tmp/podget/podget.*
then
echo "$(date +%Y-%m-%d_%H.%M.%S) There is a lock-file in /tmp/podget.
$(ls -lah /tmp/podget/)" >> ~/podcasts/_message.txt
else
rm ~/podcasts/done-`date +%Y-%m-%d_`*
touch ~/podcasts/begin-`date +%Y-%m-%d_%H.%M.%S`
podget --verbosity 3 #-s
rm ~/podcasts/begin-`date +%Y-%m-%d`* ~/podcasts/New-`date +%m-%d-%Y`.m3u ~/podcasts/NEW-`date +%m-%d-%Y`.m3u
touch ~/podcasts/done-`date +%Y-%m-%d_%H.%M.%S`
~/bin/dempty ~/podcasts
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment