defaults write com.apple.finder AppleShowAllFiles ON
Теперь это работает
tell application "Finder" to get folder ".spring" of home
#folder ".spring" of folder "username" of folder "Users" of startup disk of application "Finder"
...
defaults write com.apple.finder AppleShowAllFiles OFF
Теперь это не
tell application "Finder" to get folder ".spring" of home
#Can’t get folder ".spring" of folder "username" of folder "Users" of startup disk of application "Finder"
Мне нужно скопировать файл в это место.