2 LC_ALL=C; export LC_ALL
3 cd /home/pld/admins/th/ftp/test/SRPMS/.metadata || exit 1
4 #for file in `find . -name '*.info' -print`; do
5 for file in `find . -name '*.info' -mtime +1 -print`; do
6 dfile=$(basename $file | sed -e 's#^\./##g')
7 if (~/pld-ftp-admin/scripts/test-move.py test ready "$dfile" | grep -q "has only src.rpm built"); then
8 echo "Removing $dfile..."
9 ~/pld-ftp-admin/scripts/remove.py test "$dfile"
12 for file in `find . -name '*.info' -mtime +100`; do
13 dfile=$(basename $file | sed -e 's#^\./##g')
14 echo "Removing $dfile..."
15 ~/pld-ftp-admin/scripts/remove.py test "$dfile"