[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14628: mv command (and suggesting a feature for it)
From: |
S. Dara |
Subject: |
bug#14628: mv command (and suggesting a feature for it) |
Date: |
Sat, 15 Jun 2013 22:02:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Dear authors of the mv command,
With this email, I would like to suggest a feature for the mv command. I
believe this command should contain a safeguard feature which will deny
renaming a directory that contains files which are currently opened by
the user.
For example, I have a directory named 'my directory'. In this directory,
there is a .txt file which I had opened and was entering text in it. In
the command prompt, I decided to change the name of 'my directory' to
'mydirectory' using the command 'mv -ivT my\ directory mydirectory'.
Although command succeeded, when I wanted to save the text file which I
was working on I got an error from my text editor saying the directory
does not exist. This is due to the name change of the parent directory
of the .txt-file.
I hope the problem is clear by above example. If there already exists
such safeguard by providing some specific option to the mv command, then
please discard this email and my apologies.
With kind regards,
Saif Dara
- bug#14628: mv command (and suggesting a feature for it),
S. Dara <=