apple_cp (1) - Linux Man Pages
apple_cp: Do an apple copy, copying file metadata and the resource fork as well
apple_cp - Do an apple copy, copying file metadata and the resource fork as well
apple_cp is a perl script to copy SOURCE to DEST or multiple SOURCE(s) to DIRECTORY. It also copies the file specific metadata (including resource forks) to the .AppleDouble directory for DEST or DIRECTORY. If the .AppleDouble directory doesn't exist for DEST or DIRECTORY it will create it.
/usr/bin/apple_cp test.text /target/directory/
/usr/bin/apple_cp test.text /target/directory/test2.text