Support
All support resources for our products. Here you can find answers to frequently asked questions, discuss with other users, recover a lost license code or file a support request.
Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

16.07.2010 09:48:48
Re: Execute shell script named x.command

This posting is older than 6 months and can contain outdated information.
Thank you for responding but unfortunately this does not help me.

Is this function (the ability to execute .command files) no longer a part of remote buddy?

If not can you tell me which version I have to downgrade to so that this great feature is again available to me.

I have a series of scripts that where very convenient that I cannot use without this feature for example I have a script that will call "open" sequentially on each other file in the folder so that I do not have to remember where in a series of episodes I am up to I just use the file browser and activate the script.

e.g.

#!/usr/bin/env bash

go=1 
(( next = go + 1 )) 
sed -i.rm_me -e "s/go=$go/go=$next/" "$0" 
(sleep 1;rm -f "$0.rm_me") & 
path=$(dirname "$0") 
(( open_number = next + 1 )) 
open=$(ls "$path" |head -n${open_number}|tail -n1) 
echo "$path/$open" 
echo "$(date) $path/$open" >> "$0" 
open "$path/$open" 
exit

this opens the next file in the same folder as the script and logs what was opened.

I use this script from a network mount from any machine.

I am not sure that it will be possible to do this with an apple script.

This script was very useful and I miss very much being able to use it from remote buddy. I have been using vnc to activate the script via the finder and using remote buddy a lot less because of the lack of this very nice feature.

Cheers

Sefton 

Thread-display::