delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.0 required=5.0 tests=BAYES_50,DEAR_SOMETHING,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Fri, 25 Nov 2011 12:52:32 +0530 |
Message-ID: | <CALvE_gNwZ0U+kZNGGQtj7b8WRM5JnosnMrWAPhSb4=1gbkcp8g@mail.gmail.com> |
Subject: | pl. help |
From: | " DE(I) BDR" <deibdr AT gmail DOT com> |
To: | cygwin AT sources DOT redhat DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Dear Sir; i want to read the tape drive with cygwin and copy the data to hard disk my below programme is written for linux .pl.hwlp me in converting window base system so that i can read/write and copy data with windows Vista. thanks in advance. value=0 set `date` while [ $value -ne 5 ] do clear tput smso echo "DOTWARE AHMEDABAD TELECOMM DISTRICT DATE : $2 $3 $6" tput rmso echo echo echo echo "COMPUTER CELL TR-BILL ACTIVITY MENU TIME : $4" echo " -------------------------" echo echo echo echo " 1) [ 5 E S S Stream-0 ]" echo echo echo " 2) [ 5 E S S Meter Tape ]" echo echo " 3) [ Tranfer File TO TR-BILL ]" echo echo " 4) [ Copy Stream-0 File from IOBAS ]" echo echo " 5) [ Exit ]" echo echo echo -n " Enter choice 1 - 5 : " read choice echo case "$choice" in 1)clear echo " 5-ESS stream-0 DAT dump into the Computer :" echo cd /home/detail/data dd if=/dev/nst0 of=/home/detail/data/yy conv=ascii dd ibs=10000 conv=ascii if=/dev/nst0 of=/home/detail/data/ama echo " Enter input-File Name :" read x echo " Enter Output-File Name :" read y mv $x $y read h sleep 2 ;; 2)clear echo " 5-ESS Meter Tape Converted in to TEXT Format :" echo cd /home/detail/data dd ibs=10000 if=/dev/nst0 of=/home/detail/data/mul dd if=/dev/nst0 of=/home/detail/data/yy echo " Enter input-File Name :" read x echo " Enter Output-File Name :" read y mv $x $y read I ;; 3)clear echo " 5-ESS transfer to TR-BILL Server :" cd /home/detail/data ls -l ftp 10.72.2.173 ;; 4)clear echo " Copying Stream-0 File from IOBAS :" cd /home/iobas/Cdr_Completed ls -l echo " Enter the File Name to be Copied :" read l cp /home/iobas/Cdr_Completed/$l /home/detail/data cd /home/detail/data ls -l echo " Enter Output File Name :" read n mv $l $n ls -l ;; 5)clear exit;; esac done -- sde 5ess bdr -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |