Re: Copying directories contents

2002-10-02 Thread Kevin Oberman
> Date: Wed, 2 Oct 2002 10:06:36 +0930 > From: Tim Peters <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > > On Tue, Oct 01, 2002 at 09:55:34AM -0800, Beech Rintoul wrote: > > I'm need to take the contents including dotfiles from about 300 user > > directories and move them into another set of

Re: Copying directories contents

2002-10-01 Thread parv
in message <[EMAIL PROTECTED]>, wrote Tim Peters thusly... > > # pax -rw /source /destination > > probably because it's not very portable - i only see pax(1) on > freebsd machines here. fwiw, i noticed pax on IBM OS/390; it's also available from att research -- who also brought to you the korns

Re: Copying directories contents

2002-10-01 Thread Tim Peters
On Tue, Oct 01, 2002 at 09:55:34AM -0800, Beech Rintoul wrote: > I'm need to take the contents including dotfiles from about 300 user > directories and move them into another set of identical directories on > another filesystem. Is there an easy script to do this? I dont want to > overwrite the

Re: Copying directories contents

2002-10-01 Thread Gary W. Swearingen
Erik Trulsson <[EMAIL PROTECTED]> writes: > > tar cf - user1 user2 user3 user4 | ( cd /destination ; tar xpf - ) > > To avoid starting an extra shell process you can also do: > > tar cf - user1 user2 user3 user4 | tar xpf - -C /destination Or, if you believe the manual which says -C is "probab

Re: Copying directories contents

2002-10-01 Thread Kevin Oberman
> From: Beech Rintoul <[EMAIL PROTECTED]> > Date: Tue, 1 Oct 2002 09:55:34 -0800 > Sender: [EMAIL PROTECTED] > > I'm need to take the contents including dotfiles from about 300 user > directories and move them into another set of identical directories on > another filesystem. Is there an easy s

Re: Copying directories contents

2002-10-01 Thread Marc Perisa
Peter Leftwich wrote: > > I have often run into a similar situation. There doesn't seem to be a > command line or GUI file explorer you can use to "stitch together" source > directories and subdirectories into the target directory. For example, if > you have differing files but in the same exa

Re: Copying directories contents

2002-10-01 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-01 14:04:23 -0400: > On Tue, 1 Oct 2002, Dan Nelson wrote: > > tar cf - user1 user2 user3 user4 | ( cd /destination ; tar xpf - ) > > I really must learn how to use conditional stuff in Unix, such as && and > parentheses :) those parens create a subshell, not an

Re: Copying directories contents

2002-10-01 Thread Peter Leftwich
On Tue, 1 Oct 2002, Dan Nelson wrote: > In the last episode (Oct 01), Beech Rintoul said: > > I'm need to take the contents including dotfiles from about 300 user > > directories and move them into another set of identical directories on > > another filesystem. Is there an easy script to do this?

Re: Copying directories contents

2002-10-01 Thread Erik Trulsson
On Tue, Oct 01, 2002 at 12:58:38PM -0500, Dan Nelson wrote: > In the last episode (Oct 01), Beech Rintoul said: > > I'm need to take the contents including dotfiles from about 300 user > > directories and move them into another set of identical directories on > > another filesystem. Is there an

Re: Copying directories contents

2002-10-01 Thread Dan Nelson
In the last episode (Oct 01), Beech Rintoul said: > I'm need to take the contents including dotfiles from about 300 user > directories and move them into another set of identical directories on > another filesystem. Is there an easy script to do this? I dont want to > overwrite the contents of

Copying directories contents

2002-10-01 Thread Beech Rintoul
I'm need to take the contents including dotfiles from about 300 user directories and move them into another set of identical directories on another filesystem. Is there an easy script to do this? I dont want to overwrite the contents of the target directories just add to them. Both filesystems