How about rsync.
It doesn't only work for remote files.
On Fri, 2002-07-19 at 14:28, Niall O Broin wrote:
> I have about 60G of data which I need to copy from one disk to another.
> However, I'm not sure how I should best copy it. The problem is the bulk of
> the data is images and most of these image have two directory entries i.e.
> there is a hard link to each file. If I copy them using cp -a or my usual
> favourite of find .|cpio -pmd other_dir it's going to copy each file twice,
> which is not what I want. dump / restore would take care of this if the
> source filesystem wasn't reiserfs :-( Any suggestions ?
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!