copy multi file to multi file
for file in source* ; do cp "$file" "${file/source/Target}";done
for file in salesSubject* ; do cp "$file" "${file/salesSubject/purchaseSubject}";done
for file in purchaseApply* ; do cp "$file" "${file/purchaseApply/officePurchaseApply}";done
for file in purchaseRequest* ; do cp "$file" "${file/purchaseRequest/officePurchaseRequest}";done
for file in collectionNote* ; do cp "$file" "${file/collectionNote/specialRequestDNote}";done
for file in salesman* ; do cp "$file" "${file/salesman/pjInCharge}";done
for file in paymentTerms* ; do cp "$file" "${file/paymentTerms/paymentTermsFormula}";done
for file in dNotes* ; do cp "$file" "${file/dNotes/returnNote}";done
for file in customerCategory* ; do cp "$file" "${file/customerCategory/supplierCategory}";done
for file in productMaster* ; do cp "$file" "${file/productMaster/internalItem}";done
for file in salesType* ; do cp "$file" "${file/salesType/internalType}";done
for file in purchaseRequest* ; do cp "$file" "${file/purchaseRequest/stockIssue}";done
for file in BOM* ; do cp "$file" "${file/BOM/salesOrderPayment}";done
for file in uom* ; do cp "$file" "${file/uom/dept}";done
for file in BOM* ; do cp "$file" "${file/BOM/purchaseRequest}";done
for file in solutionType* ; do cp "$file" "${file/solutionType/quotationStatus}";done
for file in inBox* ; do cp "$file" "${file/inBox/quotation}";done
for file in category* ; do cp "$file" "${file/category/solutionType}";done
for file in salesType* ; do cp "$file" "${file/salesType/pjTeam}";done
for file in productCategory* ; do cp "$file" "${file/productCategory/TARGET_FILE_NAME}";done
for file in productCategory* ; do cp "$file" "${file/productCategory/maintainType}";done
for file in category* ; do cp "$file" "${file/category/pvia}";done
沒有留言:
張貼留言