AIM

It is OK use “~” if you use a shell script to copy the files. If you use plain AppleScript, you can get the location of the home folder as follow:

path to home folder