bug-fileutils
[Top][All Lists]
Advanced

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

Bug with cp command?


From: Ted Fines
Subject: Bug with cp command?
Date: Wed, 18 Jul 2001 20:12:09 -0500

Unless I am misunderstanding the options "--force" and "--remove-destination", these options just don't work with the cp command. I'm using RH 7.1 (kernel 2.4.2-2).

'cp --force /dir1/file1.dat .' or
'cp --force /dir1/file1.dat ./file1.dat' or
'cp --force /dir1/file1.dat /full/path/to/current/directory/file.dat'
all yield the same response:
"cp: overwrite `./file1.dat'? "

Likewise, so does 'cp -f ... ...', 'cp --remove-destination ... ...'

What am I missing here?

Thanks,
Ted Fines
Macalester College




reply via email to

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