* [9fans] dumb question
@ 2002-06-25 16:48 Andrew Stitt
2002-06-26 8:41 ` [9fans] " Douglas A. Gwyn
2002-06-26 8:45 ` [9fans] " arisawa
0 siblings, 2 replies; 4+ messages in thread
From: Andrew Stitt @ 2002-06-25 16:48 UTC (permalink / raw)
To: 9fans
ok so im totally stumped on this: how do i copy a directory? cp can copy
files only, but has no nifty recursive option, what do i do? thanks
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
* [9fans] Re: dumb question
2002-06-25 16:48 [9fans] dumb question Andrew Stitt
@ 2002-06-26 8:41 ` Douglas A. Gwyn
2002-06-26 8:45 ` [9fans] " arisawa
1 sibling, 0 replies; 4+ messages in thread
From: Douglas A. Gwyn @ 2002-06-26 8:41 UTC (permalink / raw)
To: 9fans
Andrew Stitt wrote:
> ok so im totally stumped on this: how do i copy a directory?
The "tar" manual page gives an example (last time I looked).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] dumb question
2002-06-25 16:48 [9fans] dumb question Andrew Stitt
2002-06-26 8:41 ` [9fans] " Douglas A. Gwyn
@ 2002-06-26 8:45 ` arisawa
2002-06-26 17:36 ` Andrew Stitt
1 sibling, 1 reply; 4+ messages in thread
From: arisawa @ 2002-06-26 8:45 UTC (permalink / raw)
To: 9fans
Hello,
>ok so im totally stumped on this: how do i copy a directory?
>cp can copy files only, but has no nifty recursive option,
>what do i do? thanks
> Andrew
look at http://plan9.aichi-u.ac.jp/netlib/cmd/cpdir/
The following is a part of README file.
Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp
Usage: cpdir [-vugRm] [-l list] source destination [path ...]
Options and arguments:
-v: verbose
-u: copy owner info
-g: copy group info
-R: remove redundant files and directories
-m: merge
-l list:
path list to be processed. path list must be a path
per line.
source:
source dir from which copy is made.
destination:
destination dir in which copy is made.
path ... : pathes in source to be processed.
Function:
`cpdir' makes effort to make a copy of source/path
in destination/path.
`cpdir' copies only those files that are out of date.
`cpdir' tries to preserve the following info.:
- contents (judged from modification time)
- modification time
- permissions
- group (under -g option)
- owner if possible. (under -u option)
and under -R option, `cpdir' removes files and directories
in destination/path
that are non-existent in source/path.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] dumb question
2002-06-26 8:45 ` [9fans] " arisawa
@ 2002-06-26 17:36 ` Andrew Stitt
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Stitt @ 2002-06-26 17:36 UTC (permalink / raw)
To: 9fans
thank you this is very helpful.
On Wed, 26 Jun 2002 arisawa@ar.aichi-u.ac.jp wrote:
> Hello,
>
> >ok so im totally stumped on this: how do i copy a directory?
> >cp can copy files only, but has no nifty recursive option,
> >what do i do? thanks
> > Andrew
>
> look at http://plan9.aichi-u.ac.jp/netlib/cmd/cpdir/
>
> The following is a part of README file.
>
> Kenji Arisawa
> E-mail: arisawa@aichi-u.ac.jp
>
>
> Usage: cpdir [-vugRm] [-l list] source destination [path ...]
> Options and arguments:
> -v: verbose
> -u: copy owner info
> -g: copy group info
> -R: remove redundant files and directories
> -m: merge
> -l list:
> path list to be processed. path list must be a path
> per line.
> source:
> source dir from which copy is made.
> destination:
> destination dir in which copy is made.
> path ... : pathes in source to be processed.
>
> Function:
> `cpdir' makes effort to make a copy of source/path
> in destination/path.
> `cpdir' copies only those files that are out of date.
> `cpdir' tries to preserve the following info.:
> - contents (judged from modification time)
> - modification time
> - permissions
> - group (under -g option)
> - owner if possible. (under -u option)
> and under -R option, `cpdir' removes files and directories
> in destination/path
> that are non-existent in source/path.
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-26 17:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-25 16:48 [9fans] dumb question Andrew Stitt
2002-06-26 8:41 ` [9fans] " Douglas A. Gwyn
2002-06-26 8:45 ` [9fans] " arisawa
2002-06-26 17:36 ` Andrew Stitt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).