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

Re: using 'mv' instead of 'cp' to transfer directories to other partitions or disks



On Wed, 2009-04-01 at 19:42 -0700, jackson byers wrote:
> -----
> my question: isn't it true that use of 'mv' is much faster than 'cp'
> or rsync?
> ie to "copy everything somewhere else"  
> instead
> "mv everything somewhere else"   
> and
> instead of 
> "..and copy back"
> do
> ".. mv back"
mv is faster if you are on the same partition since the data is not
moved just the pointer to the data is changed. If you are using mv to
transfer to a different disk or partition it probably a little slower.
--
=======================================================================
Everything ends badly. Otherwise it wouldn't end.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam sbcglobal net


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