Recursive Copy?
Mike Reinehr
cmr
Tue Aug 8 08:03:00 PDT 2006
On Tuesday 08 August 2006 07:47 am, Steve Jardine wrote:
> All,
>
> I need to copy a group of directories recursively into a single
> directory. I need to make sure that no files overwrite each other. I would
> like to have each duplicate file name appended with a number to make them
> unique.
>
> Anyone got a utility like this? Or an idea?
>
> TIA.
>
> Steve
Two that come to mind are 'cp' with the '-i' (interactive) or '-u' (update)
options or 'tar' with the '-k' (keep old files) option. You'll need to read
the manual entries as there are a zillion options.
HTH
cmr
--
Debian 'Sarge': Registered Linux User #241964
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list