Recursive Copy?
Ric Moore
wayward4now
Thu Aug 10 10:33:02 PDT 2006
On Thu, 2006-08-10 at 11:22 +0200, Roger Oberholtzer wrote:
> On Tue, 2006-08-08 at 12:47 +0000, 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?
>
> cp -a source dest
I have used cp -raf to grab everything... I think -a does pretty much
the same thing.
--
================================================
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
...the Sin of Ignorance, and
...the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256
Sign up at: http://counter.li.org/
http://www.sourceforge.net/projects/oar
http://www.wayward4now.net
================================================
More information about the Linux-users
mailing list