Re: Getting result from shell scp command
Re: Getting result from shell scp command
- Subject: Re: Getting result from shell scp command
- From: Gnarlodious <email@hidden>
- Date: Wed, 23 Mar 2005 08:35:47 -0700
Entity Nigel Smith spoke thus:
> On 22/3/05 15:12, "Gnarlodious" <email@hidden> wrote:
>> Any answers? I suppose if the result file is blank it means the upload was
>> successful, but I won¹t get filesize.
> If you use the verbose (-v) switch in your command, you can get the filesize
> from the line starting "Sending file modes:" in your scplog.txt file.
THANK YOU!
For some reason the file is written with Mac lineendings:
do shell script "tr '\\r' '\\n' < /private/tmp/scplog.txt | grep 'Sending
file modes:.' | awk '{print $5}' "
-- Gnarlie
Terri Schiavo: taking bulimia to its logical extreme
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden