#!/bin/sh

GalaxyDir=/SHARE/USERFS/els7/users/sequencing/galaxy-dist
n_days=15

echo "Purging deleted galaxy entities older than ${n_days} days"

cd "${GalaxyDir}"

for i in 2 3 4 5 ; do
	python scripts/cleanup_datasets/cleanup_datasets.py --days=${n_days} -${i} --remove_from_disk  universe_wsgi.ini
done


echo "Done"
exit 0
