errors using DITTO command

DmaxGuy

Registered
Forgive for the n00b question...

I'm trying to copy some folders from a unix machine running Xinet Full Press [which uses Xinet KA-Share to create AFP shares] to a Win2K machine that's running Miramar's PC-Mac LAN. All of the necessary volumes are mounted on my OSX server machine.

When I perform the following DITTO command I get the following:

[FTPMacintosh:/Volumes] admin# ditto -rsrcFork /Volumes/Source_Volume/ /Volumes/Destination_Volume/

/Volumes/Jobs_ToBeArchived/6592 Client Name/A1234/02_Linked Files/A1234s1C.tif: File name too long

Destination path is only 78 characters long...

What am I doing wrong?
 
Hm... Could it be a limitation of PC-MacLAN? Different file systems will have different limits, and that includes different ways of sharing the same file system. Do you have the same trouble if you forget PC MacLAN altogether, and just mount the remote part as a windows share?

Also - can you create a file with that name by hand?
 
do you really need to use ditto?
try using cp instead if the files you are moving dont have resource forks

if the disks they are stored on are not hfs or hfs+ then they probably dont have resource forks - if they do there will be a hidden file named "._filename" where filename is the name of the file in question
 
You don't need a trailing slash for directoires.

Try:
ditto -rsrc /Volumes/Source_Volume /Volumes/Destination_Volume/

(the second trailing / will put Source_Volume in a subfolder of Destination_Volume, if you don't want that, remove the second trailing slash)
 
Back
Top