[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cp -rl dir dir in 7.1 not so great
From: |
Mikael Magnusson |
Subject: |
cp -rl dir dir in 7.1 not so great |
Date: |
Fri, 27 Feb 2009 02:03:02 +0100 |
In my old 6.x something, cp would just say
cp: cannot copy a directory, `dir', into itself, `dir/dir'
(it would still do it, but only once)
In 7.1 I get a result like this:
% timeout 1 cp -rl dir dir
% ls -R dir|wc -l
1063
Without the -l it still behaves properly.
--
Mikael Magnusson
removed directory: `dir/dir/dir/dir/dir/dir/dir/dir/dir/dir/dir/dir'
removed directory: `dir/dir/dir/dir/dir/dir/dir/dir/dir/dir/dir'
removed directory: `dir/dir/dir/dir/dir/dir/dir/dir/dir/dir'
removed directory: `dir/dir/dir/dir/dir/dir/dir/dir/dir'
removed directory: `dir/dir/dir/dir/dir/dir/dir/dir'
removed directory: `dir/dir/dir/dir/dir/dir/dir'
removed directory: `dir/dir/dir/dir/dir/dir'
removed directory: `dir/dir/dir/dir/dir'
removed directory: `dir/dir/dir/dir'
removed directory: `dir/dir/dir'
removed directory: `dir/dir'
removed directory: `dir'
- cp -rl dir dir in 7.1 not so great,
Mikael Magnusson <=