 |
 |
Is there any type of "Command Modifier" that will allow folder 'merging' on copy?
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2007
Status:
Offline
|
|
Hi All,
I'm looking for a way to place items in their respective folders even though similar folders exist. Basically a merge. Is there any way to do this?
For instance, say I have the following:
Desktop/Folder1/item1
Desktop/Folder1/item2
Desktop/Folder1/item3
Desktop/Folder2/item1
Desktop/Folder2/item2
. . .and I want to copy a folder with this structure:
Desktop/Folder1/item4
Desktop/Folder1/item5
Desktop/Folder1/item6
Desktop/Folder1/item7
Desktop/Folder2/item3
Desktop/Folder2/item4
Desktop/Folder2/item5
Desktop/Folder2/item6
I don't want the copy to replace the folders, I want it to know how to add the items recursively down the hierarchy. I'd like to do this on the fly -- no rsyncing or anything like that. I considered creating an intricate AppleScript and placing it as a "Folder Action", but quickly decided against that. Any ideas?
Regards!
|
|
|
| |
|
|
|
 |
|
 |
|
Administrator 
Join Date: May 2000
Location: California
Status:
Offline
|
|
The Installer does what you want, and might be AppleScriptable. It overwrites duplicate files, but not folders. That said, I've never tried to use the Installer to do copying - only installing.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2007
Status:
Offline
|
|
Yeah, I suppose that would work. Although I could also "tar" it up then untar it to the proper directories. It would be nice if it were just part of the finder. I wonder if something like PathFinder would do the job?
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2004
Location: Vancouver, BC
Status:
Offline
|
|
I can't believe there is not a more simplified solution for this.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Online
|
|
Surely there's some Unix magic that could be applied to this situation, right?
|

"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2007
Status:
Offline
|
|
Well, if I wanted to do that, I suppose I could just write a script and/or use "rsync". I'm just surprised none of the OS guru's thought that that feature would be a useful requested enough freature to incorporate natively.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
rsync would definitely do that. I've done stuff like that before using rsync.
|
|
|
| |
|
|
|
 |
|
 |
|
Administrator 
Join Date: May 2000
Location: California
Status:
Offline
|
|
With a little work, you could code a Contextual Menu Item to do that. Select 2+ folders, select the Merge CM, further select which folder is to be the final one. Or make the CM a little smarter, so the one you pop the menu up on would be the merge folder. It would use rsync in the background to do the work.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|