Monitor Shell Copy File Progress

2010-05-22 Thread Sivakatirswami
Work working on an in-house file manager - RCS for Indesign (since Adobe did an end of life for Version Cue) It's coming along well, in fact really well. One challenge is that I'm using lots of these: put (mv quote gLocalFilePath quote quote (gLocalProjectPath / tShortFileName)

Re: Monitor Shell Copy File Progress

2010-05-22 Thread Alex Tweedly
First thought : I thought (according to Dictionary) that shell would wait until the command was complete before returning - dictionary says The current handler pauses until the shell returns its result. If the command was successful but did not return anything, the shell function returns empty.

Re: Monitor Shell Copy File Progress

2010-05-22 Thread Web Admin Himalayan Academy
Aloha, Alex: Nalla Cintanai (Tamil for good thoughts also the name of a famous book in our tradition) Hmmm, I will have to test that wait for shell completion. I'm not seeing that behavior at the moment, it sure seems like the next line runs immediately. I'll throw in an a put statement

Re: Monitor Shell Copy File Progress

2010-05-22 Thread Phil Davis
I bet you could use cURL for this, using the FILE protocol. Build your curl command line with filenames formatted for curl; open it as a process for read; read that process's output every 500 msecs or so to get the progress info. I'm on assignment in NZ right now so I don't have everything at