Re: COPY-FILE, what is :PRESERVE?

Jean Louis <[email protected]> Tue, 28 Mar 2017 21:25:59 +0300
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
On Tue, Mar 28, 2017 at 01:23:25PM -0400, Sam Steingold wrote:
> > * Jean Louis <[email protected]> [2017-03-28 15:46:00 +0300]:
> >
> > I was reading impnotes, and for function COPY-FILE, what means
> > :PRESERVE? The information is missing.
> 
> Thanks for the bug report.
> I added this:
> 
>    <simpara>When <replaceable>preserve</replaceable> is non-&nil;, try
>     to duplicate the time, owner, and permission characteristics of each
>     source file in the corresponding destination file,
>     similar to <command role="unix">cp -p</command>.</simpara>
> 
> see
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cp.html

OK thank you, somehow I was thinking it is something else. Did not use
cp -p never, so now I see it. I always used cp -a when I wish to move
all files, but never preserved the attributes.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list