14.4 C
New York
Tuesday, March 25, 2025

rsync – How can I debug an AppleScript failure after transferring to a brand new Mac working Sequoia?


Id like assist to determine why this script fails to work now that I my moved my system from a 2012 Mac mini working Catalina to new M4 mini.

I take advantage of 2 exterior HD’s for storing iTunes and film information and attempt to save the log file to an exterior SSD (was my boot drive on previous Mac mini).

AppleScript appears to compile correctly – deceptive – and when run the error pops up. I’m working Script editor from the present boot drive and presume it runs rsync from the boot drive as nicely.

Right here is the script….

set supply to "'/Volumes/Media Foremost/'"

set destFolder to "'/Volumes/Media Backup'"

do shell script  "/Volumes/'Macintosh HD'/usr/bin/rsync -av --delete --exclude=.* -i --log-file=/Volumes/'Macintosh SSD 1TB'/Customers/invoice/Desktop/AppleScriptLog/MediaBackup.txt"  & (quoted type of supply) & " " & (quoted type of destFolder) 


inform software "TextEdit"
    open file "/Volumes/'Macintosh SSD 1TB'/Customers/invoice/Paperwork:/Accomplished.txt"
finish inform

The error is as follows

Consequence:
error “rsync: didn’t open log-file /Volumes/Macintosh SSD 1TB/Customers/invoice/Desktop/AppleScriptLog/MediaBackup.txt’/Volumes/Media Foremost/’: No such file or listing (2)
rsync: link_stat “/’/Volumes/Media Backup'” failed: No such file or listing (2)
rsync error: some information couldn’t be transferred (code 23) at /AppleInternal/Library/BuildRoots/5bb93434-bef0-11ef-bef2-d285688f7a47/Library/Caches/com.apple.xbs/Sources/rsync/rsync/most important.c(996) [sender=2.6.9]” quantity 23

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles