In what way can I copy home folders (Documents, Pictures, Movies, etc…) to a mounted drive without using the POSIX function in AppleScript?
How to Copy files to a Mounted Drive using AppleScript
applescript
Related Question
- String and Variable concatenation not working in Applescript
- MacOS – Trigger function key using AppleScript
- MacOS – AppleScript to copy images that names are multiple of 30 to another folder
- AppleScript / Automator to sort files based on filename
- How to copy multiple files to macOS’s clipboard programmatically
- How to specify a drive in Applescript without the drive name
- Copy file to protected directory using AppleScript
Best Answer
Finder
with exact copy
preserves owner and group, like Paste Exactly.cp
cp -a
is equivalent tocp -Rp
.-p
preserves times, mode, owner and group, extended attributes, ACLs, file flags, and resource forks.rsync
-E
preserves extended attributes, ACLs, file flags, and resource forks.