• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting result from shell scp command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Getting result from shell scp command (From: Nigel Smith <email@hidden>)

  • Prev by Date: Mount Volume using SMB works in 10.2.8....since when?
  • Next by Date: Re: Mount Volume using SMB works in 10.2.8....since when?
  • Previous by thread: Re: Getting result from shell scp command
  • Next by thread: Selecting multiple photos in iPhoto
  • Index(es):
    • Date
    • Thread