Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 354 Bytes
#!/bin/bash
PYTHON3="/usr/local/python322/bin/python3"
APPDIR="/local/src/Pycon2012ParallelConcurrent"
rmfile()
{
fil=$1
if [ -f $fil ] ; then
rm $fil
fi
}
# rename time capture file
# TIMECAPSV should be defined in the caller
rentimef()
{
timecap=$1
ext=$(date +%Y-%m-%d-%H-%M-%S)
TIMECAPCSV="$timecap-$ext.csv"
mv $timecap $TIMECAPCSV
}