Hello,
I'm trying to write an Applescript to compare (sync visible mirror:left->right) a local folder with a distant FTP folder.
I know I could write a text file (let's say BCompare_Sync_LR.txt, and then put in my Applescript:
Actually, the text file works fine and contains something like:
I would like to know how I could write directly these commands of in the Applescript, without calling a text file. Maybe they should start with:
Thanks for you help.
I'm trying to write an Applescript to compare (sync visible mirror:left->right) a local folder with a distant FTP folder.
I know I could write a text file (let's say BCompare_Sync_LR.txt, and then put in my Applescript:
Code:
do shell script "/usr/local/bin/bcompare @\"/Volumes/SSD/BCompare_Sync_LR.txt\""
Code:
criteria timestamp binary load "/Users/.../_path_to_my_local_folder" "sftp://_path_to_my_sftp_folder" sync visible mirror:left->right
Code:
do shell script "/usr/local/bin/bcompare/..."
Comment