Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

system disks



mv does the tests for you though.. so if the file doesn't move (and
it's in a copy mode because of fs stuff) it won't unlink the
original..


In a previous episode David Kramer said...
:: 
:: On Fri, 26 May 2000, Patrick McManus wrote:
:: 
:: > it is a heck of a lot safer than "cp -p *; rm *" though as you get per
:: > file error checking..
:: 
:: I'm sorry.  As long as we're getting picky here, in my mind it is a LOT
:: safer to cp then rm than it is to mv, because you can check the cp before
:: you do the rm.  The mv is atomic, and if it didn't do what you want,
:: you're SOL.
:: 
:: -- 
:: 
:: -------------------------------------------------------------------
:: DDDD   David Kramer                   http://kramer.ne.mediaone.net
:: DK KD  
:: DKK D  Science without religion is lame,
:: DK KD  religion without science is blind.
:: DDDD              Albert Einstein
:: 
:: -
:: Subcription/unsubscription/info requests: send e-mail with
:: "subscribe", "unsubscribe", or "info" on the first line of the
:: message body to discuss-request at blu.org (Subject line is ignored).
:: 

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org