image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old June 3rd, 2004, 05:45 PM
Registered User
 
Join Date: May 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
DmaxGuy is on a distinguished road
errors using DITTO command

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:

Quote:
[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?
Reply With Quote
  #2  
Old June 3rd, 2004, 07:55 PM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
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?
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
Reply With Quote
  #3  
Old June 3rd, 2004, 10:12 PM
profx's Avatar
ill never 4get watsisname
 
Join Date: May 2001
Location: Auckland New Zealand
Posts: 386
Thanks: 0
Thanked 0 Times in 0 Posts
profx is on a distinguished road
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
__________________
| PowerBook G4 550 - 10.4 - 512Mb - 20Gb | 30Gb iPod Photo | 40x12x48 Fantom Drives CDRW (firewire) | Logitech Cordless Mouse MX700 | xBox with XBMC for movies and music in the lounge
Reply With Quote
  #4  
Old June 4th, 2004, 11:52 AM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
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)
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iMac Aluminum 24" |
MacOS X 10.5-current | 3.06 GHz Intel Core Duo | 4 GB RAM | 1 TB HDD
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:39 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.