[TriLUG] Stoopid copy question

Lisa Lorenzin lorenzin at 1000plus.com
Wed Dec 24 23:30:36 EST 2003


> I have a two drive system, the second drive being one 18GB partition  
> with about 3GB used. For various reasons I need to re-partition that  
> drive. So, I want to copy that 3GB to another partition on drive one,  
> repartition, and then copy it back.

i just did almost the exact same thing, copying the content of an 80GB
drive over to a new 120GB drive (only difference was not needing to copy
it back).  after experimenting, i found that tar cvpf, cp -a, and rsync
-avz all basically Do The Right Thing, with permissions and timestamps
preserved.  i ended up using rsync because i already use it for backups,
and i like having options for compression, how symlinks should be handled, 
etc.

					hth,

						lisa

-- 
lisa lorenzin  |  lorenzin at 1000plus.com  |  http://www.1000plus.com/lisa/
of what avail is an open eye if the heart is blind? - solomon ibn gavirol




More information about the TriLUG mailing list