comparison galaxy-tools/bin/clean_stuff.sh @ 3:43be74e62bfe draft

Uploaded
author ric
date Thu, 22 Sep 2016 08:57:04 -0400
parents
children
comparison
equal deleted inserted replaced
2:47bf0086e082 3:43be74e62bfe
1 #!/bin/sh
2
3 GalaxyDir=/SHARE/USERFS/els7/users/sequencing/galaxy-dist
4 n_days=15
5
6 echo "Purging deleted galaxy entities older than ${n_days} days"
7
8 cd "${GalaxyDir}"
9
10 for i in 2 3 4 5 ; do
11 python scripts/cleanup_datasets/cleanup_datasets.py --days=${n_days} -${i} --remove_from_disk universe_wsgi.ini
12 done
13
14
15 echo "Done"
16 exit 0