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: Tue, 22 Mar 2005 08:12:02 -0700
Title: Re: Getting result from shell scp command
Entity Graff spoke thus:
> do shell script "/usr/bin/scp email@hidden:~/thefile ~/thefile > ~/scplog.txt 2>&1 &"
This is the first thing I tried, but it doesn’t work because it doesn’t write stdout to the file but it does write stderr to the file.
I wonder if there is some problem with the scp command redirecting stdout?
If I run the command in Terminal I get the same result.
BTW you don’t need a networked machine, you can scp to a partition or even another folder just to check it out.
Any answers? I suppose if the result file is blank it means the upload was successful, but I won’t get filesize.
-- Gnarlie
_______________________________________________
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