[nflug] copy (cp) large number of files

David J. Andruczyk djandruczyk at yahoo.com
Tue Apr 25 09:44:48 EDT 2006


use rsync.  rsync -av /source /destination
man rsync for details, or rsync --help

rsync is nice becasue you can quit partway through and recontinue
unlike cp which starts over again.


--- Darin Perusich <Darin.Perusich at cognigencorp.com> wrote:

> try do a tar copy.
> 
> cd /mnt/mus/multimedia/
> tar -cf - . |(cd /mnt/new/multimedia && tar -xf - )
> 
> Robert F. Stockdale IV wrote:
> 
> > 
> > cp /mnt/mus/multimedia/* /mnt/mus/
> > -bash: /usr/bin/cp: Argument list too long
> > 
> 
> 
> -- 
> Darin Perusich
> Unix Systems Administrator
> Cognigen Corporation
> 395 Youngs Rd.
> Williamsville, NY 14221
> darinper at cognigencorp.com
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
> 


Dave J. Andruczyk

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list