Re: cp to infinity.

2007-01-24 Thread [EMAIL PROTECTED]
On 24/01/07, Stevan Tiefert <[EMAIL PROTECTED]> wrote: Am Mittwoch, 24. Januar 2007 12:50 schrieb Peter Ankerstål: > > Sure, just don't copy directories into themselves > > recursively. > > How hard could it be to make cp avoid this problem? > GNU cp does not have any problems with this action.

Re: cp to infinity.

2007-01-24 Thread Stevan Tiefert
Am Mittwoch, 24. Januar 2007 12:50 schrieb Peter Ankerstål: > > Sure, just don't copy directories into themselves > > recursively. > > How hard could it be to make cp avoid this problem? > GNU cp does not have any problems with this action. > ___ > freebs

Re: cp to infinity.

2007-01-24 Thread Peter Ankerstål
Sure, just don't copy directories into themselves recursively. How hard could it be to make cp avoid this problem? GNU cp does not have any problems with this action. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/lis

Re: cp to infinity.

2007-01-24 Thread Andrew Pantyukhin
On 1/24/07, Peter Ankerstål <[EMAIL PROTECTED]> wrote: > cd test/ > mkdir foo > touch bar > cp -r * foo/ cp: name too long (not copied) cp: name too long (not copied) It seems FreeBSD cp tries to copy the directory to infinity. Is there an option to avoid this? Sure, just don't copy dir