Re: [gentoo-user] [OT] fast recursive local copy

2009-08-14 Thread Mike Kazantsev
On Fri, 14 Aug 2009 04:47:24 +0200
meino.cra...@gmx.de wrote:

  I am looking for a faster way to do a
 
 cp -a r thisdir thatdir
 
  locally on one machine with one harddisk inside.

rsync can parallel some of the tasks, like creating paths while files
are being copied, so I guess it wouldn't hurt to test it against cp:

  rsync -HaAX thisdir thatdir

Flags are:

 -H - hardlinks
 -a - ids, modes, timestamps
 -A - ACLs
 -X - extended attributes

You might want to throw in '-x' for 'one-file-system', but that
contradicts with behavior of given cp example.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] [OT] fast recursive local copy

2009-08-13 Thread meino . cramer
Hi,

 I am looking for a faster way to do a

cp -a r thisdir thatdir

 locally on one machine with one harddisk inside.

 Is there a neat trick to accomplish this faster than
 good old cp?
 (I have to reorder greater part sof user data on my 
 harddisc...)

 Thank you very much in advance for any help!
 Have a nice weekend!
 Best regards
 mcc



-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.