I had an Applescript that labored tremendous in Mac OS 10.12 however now that I am on OS 12.6, a line of it now not does. The road of code that is not working is:
do shell script "mv -i " & (quoted type of POSIX path of loc) & " " & (quoted type of POSIX path of uD as string)
I take advantage of the quoted kind becuase there are areas within the drive, folder, and file names and this labored earlier than. I’ve since tried the next and none of them work:
WITHOUT the -i
do shell script "mv " & (quoted type of POSIX path of loc) & " " & (quoted type of POSIX path of uD as string)
USING sudo
do shell script “sudo mv " & (quoted type of POSIX path of loc) & " " & (quoted type of POSIX path of uD as string)
WITHOUT the quoted kind
do shell script "mv " & loc & " " & uD
If I add a script step to repeat loc and uD to the clipboard and paste them into TextEdit, they appear appropriate, at the least when it comes to spelling and file construction. If I take away the these strains, the remainder of the script runs tremendous.
Thanks for any assist with this.