[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
system ask user confirmation with cp -f
From: |
YOGESH PATANKAR |
Subject: |
system ask user confirmation with cp -f |
Date: |
Fri, 4 Sep 2009 06:23:37 -0700 (PDT) |
Hi
I am trying to copy the file through 'cp -f' command. If the same file exist on
destination folder system ask for user confirmation. Ideally by using '-f'
option system should overwrite the file directly.
Steps to reproduced
1. Create a file i.e bdlist.txt in tmp directory.
2. Create a file with same name in root directory.
3. Execute command cp -f bdlist.txt /tmp
Error : System ask for confirmation from user. I think with -f option it should
overwrite directly.
I am using Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Thanks & Regards
Yogesh
- system ask user confirmation with cp -f,
YOGESH PATANKAR <=