Good Morning,
I am converting a timestamp into the respective epochtime number using the
'date' command from 'coreutils'.
When I convert this back however, the result differs from the initial input.
I'd expect the same, and which is the case actually under CygWin under WIN7.
Under CentOS,
Image you need to move the $PWD/tmploc/a directory into $PWD/a and
ensure you don't end up with $PWD/a/a when $PWD/a already exists.
The mv --no-target-directory (or mv -T) does exactly that, however
there are three different cases depending on a type of $PWD/a:
A) Empty directory: mv silently
In the steps-to-reproduce below:
- the first sequence of commands demonstrates case (B) - Non-empty directory
- the second sequence of commands is for the case (A) - Empty directory
- the third sequence is correctly labeled as (C) - File
Very sorry for the confusion.
Alexey
On Fri, Jun 19, 2015
tag 20850 notabug
close 20850
stop
On 19/06/15 10:03, Bahn, Ingo wrote:
Good Morning,
I am converting a timestamp into the respective epochtime number using the
'date' command from 'coreutils'.
When I convert this back however, the result differs from the initial input.
I'd expect the