view galaxy-tools/bin/clean_stuff.sh @ 12:46f08bb8dd68 draft default tip

Uploaded
author ric
date Wed, 28 Sep 2016 04:59:02 -0400
parents 43be74e62bfe
children
line wrap: on
line source

#!/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