[freeside-commits] freeside/bin billco-upload,1.1,1.2
Ivan,,,
ivan at wavetail.420.am
Mon Oct 31 19:16:36 PST 2005
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail:/tmp/cvs-serv28873
Modified Files:
billco-upload
Log Message:
good nuff for 11/1
Index: billco-upload
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/billco-upload,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- billco-upload 28 Oct 2005 17:10:45 -0000 1.1
+++ billco-upload 1 Nov 2005 03:16:33 -0000 1.2
@@ -1,14 +1,14 @@
#!/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
-zip $date.zip $date-header.csv $date-detail.csv
+echo zip $date.zip $date-header.csv $date-detail.csv
echo $dir/$date.zip
More information about the freeside-commits
mailing list