Copy directory subsets?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alan Dayley
Date:  
To: Main PLUG discussion list
Subject: Copy directory subsets?
This is a problem that has bugged me for a while and I just have to ask.

Directory 'destination' contains:
file1
file2
file3
file4
Dir1
dir1file1
dir1file2
dir1file3

Directory 'source' contains:
file2
file3
Dir1
dir1file3

I want to copy the entire 'source' directory into 'destination' such
that 'source/file2' 'source/file3' and 'source/Dir1/dir1file3' overwrite
the existing files in 'destination'.

A normal 'cp' or 'mv' or drag and drop in Konqueror is fine for 'file2'
and 'file3'. But it will wipe out the 'destination/Dir1' replacing it
with the 'source/Dir1' that only has one file in it. I want a copy
operation that will overwrite 'destination/Dir1/dir1file3' while leaving
the other files in the directory in place.

Does that make sense?

Anybody know how to do this? Am I simply missing a copy
command/operation option?

Alan

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss