9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cpdir
@ 2007-03-26 13:06 Russ Cox
  2007-03-26 13:10 ` Gorka Guardiola
  0 siblings, 1 reply; 16+ messages in thread
From: Russ Cox @ 2007-03-26 13:06 UTC (permalink / raw)
  To: 9fans

I give up: what is cpdir?

Russ


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [9fans] cpdir
@ 2007-03-21 15:44 Devon H. O'Dell
  2007-03-21 17:15 ` Abhey Shah
  0 siblings, 1 reply; 16+ messages in thread
From: Devon H. O'Dell @ 2007-03-21 15:44 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Since I'm getting back into the swing of things, I want to give
praises as well as scoldings.

Scoldings: interoperability for doing things like exporting
filesystems to Inferno and importing these is a huge pain in the ass,
and poorly documented. (Yes, I know, write documents, Devon). I'm just
pointing out that, after talking with Kris for 2 hours last night, I
finally got the magical auth stuff and everything working well enough
to mount my Inferno exported filesystem. (I tried exporting from Plan
9 to Inferno, but I kept getting fversion conversion problems).

A lot of my problems are due to misconceptions and misunderstandings
about what things do.

Praises: cpdir -m is amazing. 10 thumbs up. Cookies, kudos and beer.
Utilities like this need to be in the main distribution.

--dho


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [9fans] cpdir
@ 2003-09-29 14:03 Kenji Arisawa
  2003-09-29 20:44 ` Kenji Arisawa
  2003-09-29 21:14 ` boyd
  0 siblings, 2 replies; 16+ messages in thread
From: Kenji Arisawa @ 2003-09-29 14:03 UTC (permalink / raw)
  To: 9fans

Hello 9fans.

cpdir is updated to ver.1.4
-x option is added

#
#	Usage
#
Usage: cpdir [-vugRm]  [-l file] [-x xfile] srcdir destdir [path ...]
Options and arguments:
	-v: verbose
	-u: copy owner info
	-g: copy group info
	-R: remove redundant files and directories in dstdir
	-m: merge
	-l file:
		A file of path list to be processed.
		Path list must be a path per line.
	-x xfile
		A file of path list that should not be copied.
		Path list must be a path per line.
		Rc style globe expression is allowed for the path.
		In the matching rule, "/" is simply a character.
	srcdir:
		source dir from which copy is made.
	destdir:
		destination dir in which copy is made.
	path ... : pathes in source to be processed.

Function:
	`cpdir' makes effort to make a copy of file in srcdir
	to dstdir. Those that are copied are:
	- contents
	- modification time
	- permissions
	- group	if possible. (under -g option)
	- owner if possible. (under -u option)
	What happens if there are files of same name
	in both source and destination?
	Let s.mtime and d.mtime be modification time of source
	and destination respectively. Then `cpdir' copies:
	- contents (if s.mtime > d.mtime)
	- modification time (if source.mtime > destination.mtime)
	- permissions (if s.mtime >= d.mtime)
	- group	(under -g option, if s.mtime >= d.mtime)
	- owner if possible. (under -u option, if s.mtime >= d.mtime)
	With -R option, `cpdir' removes files and directories
	in destination that are non-existent in source.

Kenji Arisawa

E-mail: arisawa@ar.aichi-u.ac.jp
NOTE: replace "@ar." by "@"



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-03-26 15:46 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-26 13:06 [9fans] cpdir Russ Cox
2007-03-26 13:10 ` Gorka Guardiola
2007-03-26 13:26   ` Gabriel Diaz
2007-03-26 13:31     ` erik quanstrom
2007-03-26 15:46       ` arisawa
  -- strict thread matches above, loose matches on Subject: below --
2007-03-21 15:44 Devon H. O'Dell
2007-03-21 17:15 ` Abhey Shah
2007-03-21 17:22   ` C H Forsyth
2007-03-21 20:03     ` David Leimbach
2007-03-22 11:15       ` Abhey Shah
2007-03-22 16:14         ` Paul Lalonde
2007-03-22 17:55           ` David Leimbach
2007-03-22 17:54         ` David Leimbach
2003-09-29 14:03 Kenji Arisawa
2003-09-29 20:44 ` Kenji Arisawa
2003-09-29 21:14 ` boyd

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).