First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
|
||||
RESELLERS="esns pitapit-ottawa"
|
||||
|
||||
for reseller in $RESELLERS
|
||||
do
|
||||
if [ "$reseller" = "esns" ]
|
||||
then
|
||||
subpath="esns"
|
||||
fi
|
||||
|
||||
if [ "$reseller" = "pitapit-ottawa" ]
|
||||
then
|
||||
subpath="00000410"
|
||||
fi
|
||||
|
||||
if [ "$subpath" = "" ]
|
||||
then
|
||||
echo "ERROR: $reseller subpath"
|
||||
exit
|
||||
fi
|
||||
|
||||
for code in `php files/getcodes.php $reseller`
|
||||
do
|
||||
if [ "$code" != "$subpath" ]
|
||||
then
|
||||
echo $code
|
||||
cp files/$code/product_images/* files/$subpath/product_images
|
||||
fi
|
||||
done
|
||||
|
||||
subpath=""
|
||||
echo ""
|
||||
|
||||
done
|
||||
|
||||
|
||||
Reference in new issue
Block a user