Terminal: Path to Network Drive in Applescript
I am attempting duplicate a documents approximately a network drive in AppleScript.
Generally I would certainly do.
do script "mv ~/Desktop/file.txt ~/Folder/file.txt"
What is the proper course to a network drive? I generally get in touch with finder by doing:
tell application "Finder" open location "smb://user:[email protected]/MyShare" end tell
How do I do:
do script "mv ~/Desktop/file.txt smb://user:[email protected]/MyShare/Folder/file.txt"
do shell script "mv ~/Desktop/file.txt smb://user:[email protected]/MyShare/Folder/file.txt"
return 'No such documents or directory site' Finder places network drives under the/ Volumes/
do shell script "mv ~/Desktop/file.txt /Volumes/netDrive/MyShare/Folder/file.txt"