bug-coreutils
[Top][All Lists]
Advanced

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

bug#11859: Reporting Bug (Enhancement) : Interactive Command for Copying


From: Sitam Jana
Subject: bug#11859: Reporting Bug (Enhancement) : Interactive Command for Copying Files (cp -i)
Date: Wed, 4 Jul 2012 13:46:04 +0530

Hi GNU-Team,

While going through the command for “Copying File” in Unix and executing the 
same, I found one good enhancement for the command : $ cp -i <file-name> 
<target-folder or target-path>.

Bug Report :-
Type : Enhancement
Description : Final status needs to be displayed for the specified command.
Precondition : File with the same name is already present in the target folder 
or target path.
Steps to reproduce :
1. Open the terminal and type the command - $ cp -i <file-name> <target-folder 
or target-path>.
    file-name – Name of the file to be copied. 
    target-folder – Name of the target folder for copying the file.
    target-path – Name of the target path for copying the file.
2. Type “y” for the warning message : “cp: overwrite ... ?”.

Actual result : Final status for the copy not displayed.  
Expected result : As the command is an interactive command, it should display a 
final status message in the terminal to the user whether the file is actually 
overwritten or not. 
Example of the final status message : 
1. If user type “y” for the warning message, final status message can be : 
“File is successfully overwritten”.
2. If user type “other than y” for the warning message, final status message 
can be : “File is not overwritten”.    

Thanks and regards
Sitam Jana
QA Engineer
Mindfire Solutions
Bhubaneswar, India


reply via email to

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