attila <att...@stalphonsos.com> wrote:
> Hi tech@,
> 
> I frequently want to move a file from one place to another and shred
> the original via the rm(1) -P option.  On several occasions I have
> forgotten about wanting to shred the original file when using mv(1)
> instead (out of habit) and ended up losing the ability to do so easily
> because mv(1) unlinks the original in the cross-filesystem case.
> 
> This patch adds a -P option to mv(1) that does the same thing rm -P
> does in all the cases where it would normally just unlink the source
> file.
> 
> Maybe someone else has shared my "d'oh!" moment after typing mv?
> Maybe this isn't worth it and should just be dealt with using a shell
> alias, but to me this feels cleaner.
> 
> Feedback most welcome as always.

over my dead body.

this is about 500 meters below the bar for adding a new option.

Reply via email to