Subversion Repositories SmartDukaan

Rev

Rev 3276 | Rev 10391 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3276 chandransh 1
#!/bin/bash
2
 
3
if [ -z ${DATE}  ]
4
then
5
	DATE=`date -d '2 day ago' +"%Y-%b-%d"`
6
fi
7
 
8
if [ -z ${EXPORT_PATH} ]
9
then
10
	EXPORT_PATH="/var/lib/tomcat6/webapps/export"
11
fi
12
 
3934 mandeep.dh 13
rm -rf ${EXPORT_PATH}/helpdocs-${DATE}* ${EXPORT_PATH}/javascripts-${DATE}* ${EXPORT_PATH}/partners-${DATE}* ${EXPORT_PATH}/solr-${DATE}* ${EXPORT_PATH}/html/entities-${DATE}*
3276 chandransh 14