upload.sh 564 B

12345678910111213
  1. #!/bin/bash
  2. CUR_PATH=`pwd`;
  3. cd $CUR_PATH/mysql_export
  4. # lftp -f $CUR_PATH/bin/lftp_commands_upload.txt
  5. wget --post-file=category.csv "http://natuerlich-grobi.de/sync_upload.php?file=category.csv"
  6. wget --post-file=customer.csv "http://natuerlich-grobi.de/sync_upload.php?file=customer.csv"
  7. wget --post-file=price.csv "http://natuerlich-grobi.de/sync_upload.php?file=price.csv"
  8. wget --post-file=priceset.csv "http://natuerlich-grobi.de/sync_upload.php?file=priceset.csv"
  9. wget --post-file=product.csv "http://natuerlich-grobi.de/sync_upload.php?file=product.csv"