Changeset 306 for palm/trunk/SCRIPTS
- Timestamp:
- Apr 27, 2009 2:11:40 PM (16 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/batch_scp
r169 r306 44 44 # 11/03/05 - Siggi - arguments are output in case of error exit 45 45 # 25/10/05 - Siggi - put of catalogs realized 46 # 27/04/09 - Marcus- use option -p for all scp calls 46 47 47 48 … … 537 538 if [[ $catalog_copy = false ]] 538 539 then 539 scp - q -v $2 $remote_user@$1:$catalog_name$4$zyklusnr540 scp -p -q -v $2 $remote_user@$1:$catalog_name$4$zyklusnr 540 541 else 541 scp - r -q -v $2 $remote_user@$1:$catalog_name$4$zyklusnr542 scp -p -r -q -v $2 $remote_user@$1:$catalog_name$4$zyklusnr 542 543 fi 543 544 else 544 545 if [[ $catalog_copy = false ]] 545 546 then 546 scp $2 $remote_user@$1:$catalog_name$4$zyklusnr > /dev/null547 scp -p $2 $remote_user@$1:$catalog_name$4$zyklusnr > /dev/null 547 548 else 548 scp - r $2 $remote_user@$1:$catalog_name$4$zyklusnr > /dev/null549 scp -p -r $2 $remote_user@$1:$catalog_name$4$zyklusnr > /dev/null 549 550 fi 550 551 fi … … 570 571 fi 571 572 else 572 scp $2 $remote_user@$1:${catalog_name}batch_scp_append_file.$random > /dev/null573 scp -p $2 $remote_user@$1:${catalog_name}batch_scp_append_file.$random > /dev/null 573 574 if [[ $? != 0 ]] 574 575 then … … 612 613 locat=ssh_failed_4; exit 613 614 fi 614 scp $2 $remote_user@$1:$catalog_name$4$zyklusnr > /dev/null615 scp -p $2 $remote_user@$1:$catalog_name$4$zyklusnr > /dev/null 615 616 if [[ $? != 0 ]] 616 617 then … … 631 632 else 632 633 633 scp $remote_user@$1:$catalog_name$4$zyklusnr $2 > /dev/null634 scp -p $remote_user@$1:$catalog_name$4$zyklusnr $2 > /dev/null 634 635 if [[ $? != 0 ]] 635 636 then -
palm/trunk/SCRIPTS/mrun
r291 r306 1571 1571 printf "\n \"$source_path\" " 1572 1572 printf "\n is not under control of \"subversion\"." 1573 printf "\n Please do not use mrun-option \"-s LOCALLY 1573 printf "\n Please do not use mrun-option \"-s LOCALLY_MODIFIED\"\n" 1574 1574 fi 1575 1575
Note: See TracChangeset
for help on using the changeset viewer.