Merging Directories With Terminal 2
Tip
Hey
If you have a script or command that you are running you may want to merge folders. You could try and do this with the copy command, however you could run into problems. If you want a simple and easy way to merge files you can do this with something called the “ditto” command within Terminal. It doesn’t take very much configuration and is a quick and easy way to merge files.
To use the ditto command, open up Terminal and type something similar to the following:
ditto Folder1 Folder2
Where Folder1 is the path to the first folder, and Folder2 is the path to the folder where you want the files from Folder1 to go. If you want a practise set up some test folders and have a play round. Its a very simple and easy to use command which can be very useful when you have a script where you need to merge plenty of folders together.
Where To Next?
2 Responses to “Merging Directories With Terminal”
-
1
Hi: love all your posts. . . been a good reader of your newsletter. A small problem I think you addressed & i fixed according to your help! But as soon as i open my SAFARI: I get the same old message about the community toolbar : We’re sorry, but the Safari browser version you are currently using does not support the community toolbar. How can I get rid of it for GOOD? Thanks for your help.
bijou letordComment By bijou letord on September 4th, at 2:01 pm
-
2
I don’t have a “community toolbar”. I think that might be from somewhere else.
Comment By admin on September 4th, at 11:38 pm