9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ethan Grammatikidis <eekee57@fastmail.fm>
To: 9fans@9fans.net
Subject: Re: [9fans] dcp - a deep copy script, better than dircp
Date: Mon, 20 Jul 2009 12:36:08 +0100	[thread overview]
Message-ID: <20090720123608.69dbc989.eekee57@fastmail.fm> (raw)
In-Reply-To: <bd7767fe8b090d17d485c03d639970b1@terzarima.net>

On Mon, 20 Jul 2009 10:55:21 +0100
Charles Forsyth <forsyth@terzarima.net> wrote:

> >Before I say anythign daft, what's '+'? It does not appear to be special on my system.
>
> it's interpreted by mkfs in its proto file to mean all the substructure of a directory.
> see mkfs(8).
>

Thanks. I looked over the man page last night & somehow missed the "Mkfs copies only those files that are out of date" part. Ah... that part would be more relevant to cej than me.

I'm primarily concerned with moving dirs and I already know what tar does. Mkfs seemed very confusing at first, it's confusingly-named for one thing (it does not make filesystems & wtf does mkext stand for), and IMHO default destinations belong in a script, not a compiled binary. Also I'm absurdly pleased with how terse dcp is. Apart from the option check there are 4 lines of code. :)

I have half a mind to write a new script using mkfs to get the functionality cej would like, but:

	file /bin/mkfs
	/bin/mkfs: cannot open: '/bin/mkfs' file does not exist

Dude, like, huh?

--
Ethan Grammatikidis

Those who are slower at parsing information must
necessarily be faster at problem-solving.



  reply	other threads:[~2009-07-20 11:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-19 16:24 Ethan Grammatikidis
2009-07-19 18:05 ` erik quanstrom
2009-07-19 18:16   ` Richard Miller
2009-07-19 18:34     ` Francisco J Ballesteros
2009-07-20  1:32   ` Ethan Grammatikidis
2009-07-20  9:55     ` Charles Forsyth
2009-07-20 11:36       ` Ethan Grammatikidis [this message]
2009-07-20 11:50         ` erik quanstrom
2009-07-20 13:25           ` Ethan Grammatikidis
2009-07-20 14:00             ` Steve Simon
2009-07-20 15:02               ` Ethan Grammatikidis
2009-07-20 15:13                 ` erik quanstrom
2009-07-20 15:19                 ` Dan Cross
2009-07-20 18:30                   ` Ethan Grammatikidis
2009-07-20 22:25                     ` Jason Catena
2009-07-20 22:41                       ` erik quanstrom
2009-07-20 22:51                         ` Jack Johnson
2009-07-20 22:56                           ` erik quanstrom
2009-07-21  0:31                             ` Dan Cross
2009-07-23  2:10       ` Federico G. Benavento
2009-07-20  9:32 ` cej
2009-07-20 11:04   ` Ethan Grammatikidis
2014-04-17 12:53   ` arisawa
2014-04-17 12:55     ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090720123608.69dbc989.eekee57@fastmail.fm \
    --to=eekee57@fastmail.fm \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).