RE: copying files from ls command


Subject: RE: copying files from ls command
From: Steve Stich (steves@cgnw.com)
Date: Thu Jan 15 2004 - 01:34:58 AKST


Interesting docs here regarding rsync backup methods...
http://www.mikerubel.org/computers/rsync_snapshots/

-----Original Message-----
From: Steve Stich=20
Sent: Thursday, January 15, 2004 1:30 AM
To: aklug@aklug.org
Subject: RE: copying files from ls command

I agree with the rsync method...

rsync -r /path/to/source /path/to/dest --exclude=3D3Dpattern [or
--exclude-from=3D3Dfilename]

Much more efficient all the way around, and like David suggests, just
tweak the exclude to do what you want.

If storage space is a crunch, use tar with the --exclude or
--exclude-from options.

Steve Stich

-----Original Message-----
From: captgoodnight@acsalaska.net [mailto:captgoodnight@acsalaska.net]
Sent: Wednesday, January 14, 2004 8:02 PM
To: aklug@aklug.org
Subject: Re: copying files from ls command

On Wednesday 14 January 2004 06:49 pm, David J. Weller-Fahy wrote:

Just a thought,

Maybe a local rsync (what i use daily and weekly) with a exclude list
(created=3D20
by find)?
Maybe tweak tar a little, it has great amounts of use?
Pax is another interesting tool I've used for this kinda thing too.

What is the value of the ls if you can auto (cron) create a exclude
list, find=3D20
certain characters/file attributes that are unwanted by the copy
function?
maybe a find function, then a cp? or rsync? tar -czp... for space?
All the above copy methods have really cool options, much better than
cp, cp=3D20
has a hard time with certain things, links and such.
Why use ls for this, I think I'm missing something here ;)=3D20

bests - cg

SOYO P4I875P Platinum Edition Dragon II (4 SATA 8 EIDE RAID 0,1,0+1)
Pentium 4 2.8C 800fsb OC@3.22 5:4 2,5,3,2 1.6v air
240 gigs of seagate (120 hotswapable)
PNY NVIDIA GeForce FX 5600 ultra 128 mb
viewsonic VA720 17" lcd
blah blah blah
--=3D20
Where ravens sleep
No object can stop the driving rain
In wind, the smallest object can be deadly
Face the sun, to not see the shadows
Linux

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Thu Jan 15 2004 - 01:35:18 AKST