apple_mv (1) - Linux Man Pages
apple_mv: Do an apple move, moving metadata and the resource fork as well
apple_mv - Do an apple move, moving metadata and the resource fork as well
apple_mv is a perl script to move SOURCE to DEST or multiple SOURCE(s) to DIRECTORY. It also moves 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_mv test.text /target/directory/
/usr/bin/apple_mv test.text /target/directory/test2.text