Copying directory trees only for new files

2005-01-09 Thread Anthony Atkielski
What's the safest and most elegant way to copy an entire directory tree such that only newer files and directories are actually copied? Essentially I have one directory that contains my test version of my Web site, and another directory that contains the production version of the site. Normally

Re: Copying directory trees only for new files

2005-01-09 Thread Giorgos Keramidas
On 2005-01-10 00:08, Anthony Atkielski [EMAIL PROTECTED] wrote: What's the safest and most elegant way to copy an entire directory tree such that only newer files and directories are actually copied? cpio(1) does that by default (to overwrite files in the destination path that are newer with

Re: Copying directory trees only for new files

2005-01-09 Thread J65nko BSD
On Mon, 10 Jan 2005 00:08:35 +0100, Anthony Atkielski [EMAIL PROTECTED] wrote: What's the safest and most elegant way to copy an entire directory tree such that only newer files and directories are actually copied? Have a look at rsync http://rsync.samba.org/ It is in ports ;) [snip]

Re: Copying directory trees only for new files

2005-01-09 Thread Anthony Atkielski
Giorgos Keramidas writes: GK cpio(1) does that by default ... Looks like that's just what I need--thanks. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: Copying directory trees only for new files

2005-01-09 Thread Anthony Atkielski
J65nko BSD writes: JB Have a look at rsync http://rsync.samba.org/ It is in ports ;) I did look at it, but cpio seems to do what's required and it's already on the system. Thanks anyway. -- Anthony ___ freebsd-questions@freebsd.org mailing list