Thursday, March 1, 2007

Copy files with resource forks through ssh


This hint on macosxhints has a tip on how to preserve resource forks for file copies through ssh. 



scp -E user@host:path/filename path/


This will copy both the data and resource forks, if both machines are running Mac OS X 10.4.