How to copy files into a directory by AppleScript? Convert bash to AppleScript.
Please convert the following bash commandline code into AppleScript.
cp f1.txt f2.txt drc
Similarly, convert the following bash commandline code into AppleScript.
cp /Volumes/B/f1.txt /Volumes/B/f2.txt /Volumes/B/drc
f1.txt and f2.txt are regular files. drc is is a directory. In the first code, the files and directory for cp are expressed as relative paths. In the second code, they are absolute paths. I am not sure whether AppleScript has the concepts of "current directory" and "relative path".