dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
5
share rss forum feed


Black Box

join:2002-12-21
reply to shdesigns

Re: Help cloning SSD on an Ubuntu 12 laptop

Instead of cp -afv wouldn't be better
sh code:
tar -cpsC /absolute/path/to/source/ `ls -A /absolute/path/to/source/` | tar -xpsvC /absolute/path/to/destination/

This should handle better the hardlinks. Or maybe better:
sh code:
rsync -aHv /path/to/source/ /path/to/destination

--
Keep It Safe, Stupid!
Yes, I CanChat. Can You?