[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cp improvement

From: Alfred M. Szmidt
Subject: Re: cp improvement
Date: Thu, 03 Apr 2003 18:02:36 +0200

   I think I have a good idea to improve the functionality of cp command.
   Sometimes I and my colleagues ( UNIX admins ) have to copy of directory
   structure. Now I do this in following way:

   find <dir> -type d -print | (cd <new dir>; awk '{ print "mkdir "$1 }' |
   sh -x)

   or I use my own simple program ( C coded ).

   I think would by great to add this function to cp command. I can do
   this. May I ?

No, since the GNU GPL prohibits you from doing any changes, looking at
the source code, distributing those changes... Whoops, wrong world!
Yes you can do those changes since it is Free Software.  But doesn't
"cp -a" do what you want to-do, or even "cp -R"?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]