CP Fail Since OSX Lion - Applescript

Hi All,

Am the only one running OSX Lion that is having this issue?

I had a copy script that i run to make backups of my system. When i run it now the system returns file / folder does not exist:

JBirds-MacBook-Pro:~ jbird$ “cp -R $HOME/Library/Safari/Bookmarks.plist /Volumes/USB/”

-bash: cp -R /Users/jbird/Library/Safari/Bookmarks.plist /Volumes/USB: No such file or directory

Is this something to do with the fact that OSX Lion Hides Directory? - Mine is Visible or have i missed something?


So Debuging:

If i Run

do shell script "cp -R $HOME/Library/Safari/Bookmarks.plist /Volumes/USB/"

It works… :S

Hi All - RESOLVED - Thread can be closed:

do script "cp -R $HOME/Library/Application\\ Support/AddressBook /Volumes/USB/"

MISSING \ - As there is a space between application and support