[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Excluding a directory from tar

On Mon, 13 Apr 2015 15:36:33 -0500
David Wright <deblis@lionunicorn.co.uk> wrote:

> Quoting Petter Adsen (petter@synth.no):
> > On Mon, 13 Apr 2015 12:12:51 -0500
> > David Wright <deblis@lionunicorn.co.uk> wrote:
> > > Have fun reading man find, though!
> > 
> > petter@monster:~$ man tar | wc -l
> > 540
> > petter@monster:~$ man find | wc -l
> > 1572
> > 
> > :-)
> Mea culpa. But, in my defence, I think I used tar once or twice in
> the second millennium, but never knowingly since. Normally I would
> have had cpio on the end of that pipe, not tar.

You have nothing to defend, I was just making a joke on what man page
would be the easiest to find what I needed in. A tarball was good for
what I needed to do, and it's what I was most familiar with.

> But, to make a serious point, knowing how to use find is a
> valuable skill as plenty of software doesn't have the options
> that tar now has.

Absolutely, and I use find frequently, it's a valuable tool. I'm
especially fond of "-exec". :)


"I'm ionized"
"Are you sure?"
"I'm positive."

Attachment: pgpqSLCieVRwA.pgp
Description: OpenPGP digital signature

Reply to: