projects
/
freeside.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
template-ize agent type edit and add comment to package listing
[freeside.git]
/
bin
/
billco-upload
1
#!/bin/sh
2
3
date=`date +"%Y%m%d"`
4
dir="/usr/local/etc/freeside/export.DBI:Pg:dbname=freeside/cust_bill"
5
cd "$dir"
6
7
for a in header detail; do
8
mv spool-$a.csv $date-$a.csv
9
done
10
11
zip $date.zip $date-header.csv $date-detail.csv
12
13
echo $dir/$date.zip
14