projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
172c50a
)
good nuff for 11/1
author
ivan
<ivan>
Tue, 1 Nov 2005 03:16:33 +0000
(
03:16
+0000)
committer
ivan
<ivan>
Tue, 1 Nov 2005 03:16:33 +0000
(
03:16
+0000)
bin/billco-upload
patch
|
blob
|
history
diff --git
a/bin/billco-upload
b/bin/billco-upload
index
b224605
..
165eafa
100644
(file)
--- a/
bin/billco-upload
+++ b/
bin/billco-upload
@@
-1,14
+1,14
@@
#!/bin/sh
#!/bin/sh
-date
= `date
`
-dir
= /usr/local/etc/freeside/export.DBI:Pg:dbname=freeside/cust_bill
-cd
$dir
+date
=`date +"%Y%m%d"
`
+dir
="/usr/local/etc/freeside/export.DBI:Pg:dbname=freeside/cust_bill"
+cd
"$dir"
for a in header detail; do
mv spool-$a.csv $date-$a.csv
done
for a in header detail; do
mv spool-$a.csv $date-$a.csv
done
-zip $date.zip $date-header.csv $date-detail.csv
+
echo
zip $date.zip $date-header.csv $date-detail.csv
echo $dir/$date.zip
echo $dir/$date.zip