Ditto

Reply

Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Ditto

 
0
  #1
Nov 20th, 2003
What's the difference between copying a file and duplicating it in Mac OS X 10.3? Also, what does the terminal command "ditto" do? As far as I can tell, the only difference is in setting permissions?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 10
Reputation: 72dpi is an unknown quantity at this point 
Solved Threads: 0
72dpi's Avatar
72dpi 72dpi is offline Offline
Newbie Poster

Re: Ditto

 
0
  #2
Nov 20th, 2003
Hi there, By the way great site... well, as far as i know there is no difference between the methods of copying, except the clipboard gets used?. Anyhow, for the lowdown on"ditto", check out this link:

http://www.bombich.com/mactips/image.html

And by the way, it is awesome to see programmers using Macs... Sweet!.

:cheesy:
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Ditto

 
0
  #3
Nov 20th, 2003
Hey there. Thanks for the info. Here's why I am asking that question. I just partitioned my system drive to put my user folder on its own partition. When I right clicked and chose Copy to copy the folder onto the new partition, all the permissions got screwed up. (i.e. it changed the user/group of every file, etc.) When I right clicked and chose Duplicate, its copy seemed to be more precise as far as permissions went? Needless to say, "copying" screwed everything up because my user lost privileges to my own home directory!

Thanks for the link, I'll go take a look now. And thanks for the comments about the site
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Ditto

 
0
  #4
Nov 20th, 2003
I just read the article you posted and I see that the command is
sudo ditto -rsrcFork

When I just copied my user directory, I used
sudo ditto -rsrc
as that is the command I found on some website. Would you know the difference by any chance?

The website you just sent me a link to says -rsrcFork is to preserve Resource Forks ?? But then what is -rsrc for?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 10
Reputation: 72dpi is an unknown quantity at this point 
Solved Threads: 0
72dpi's Avatar
72dpi 72dpi is offline Offline
Newbie Poster

Re: Ditto

 
0
  #5
Nov 20th, 2003
Bummer on the copy biz, I normally back up 2 dvd then, do a fresh install. I hate getting ghosting/overwrites. It is best to start fresh, partition with zeros, then reinstall, but nevermind.
If your permissionsa are stuffed, go to, applications/utilities/disk utilities/ click on your drive, then select verify permissions, this will take a few minutes, then it will tell you all the permission problems. then simply click fix.

but if you already knew this then i will be quiet heh heh.

And yes, i 2 have mac envy.. I only have a g4, and dont yet have The lastest os... but soon =)
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 10
Reputation: 72dpi is an unknown quantity at this point 
Solved Threads: 0
72dpi's Avatar
72dpi 72dpi is offline Offline
Newbie Poster

Re: Ditto

 
0
  #6
Nov 20th, 2003
No, sorry, i am not too conversant with the command line.

But I will be poisting & viewing more to find out. =)

i am a designer foremost, learning programming as i go, so sorry, wish i could help...
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Ditto

 
0
  #7
Nov 20th, 2003
Thats okay. Thanks for the link and enjoy your stay!
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Ditto

 
0
  #8
Nov 21st, 2003
I found a website that answered a lot of my questions - including the differences between cp and ditto and what -rsrcFork means. Unfortunately it looks as if I should have used -rsrcFork instead of -rsrc
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Ditto

 
0
  #9
Nov 21st, 2003
I did a bit more research and am even more confused. I found mention that, while the standard command to use is ditto -rsrcFork, there is only mention of rsrc in the ditto help. Not only that, but when you type ditto /h you are told that the correct command is --rsrc and not -rsrc
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 10
Reputation: 72dpi is an unknown quantity at this point 
Solved Threads: 0
72dpi's Avatar
72dpi 72dpi is offline Offline
Newbie Poster

Re: Ditto

 
0
  #10
Nov 21st, 2003
way over my head, lol.. BTW, how are you finding the New 'Panther' ?, I look forward to getting it soon.
the command line is number 1 reason i am a designer. =)
www.72dpi.net.au _root.ofallevil
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the OS X Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC