Questions!

Questions!

am 31.03.2004 22:29:13 von scott.smallsreed

This is a multi-part message in MIME format.

------=_NextPart_000_003A_01C4171B.C6907BD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hey-

A couple questions for you experts. Thanks for the answers.


1) What command would you use to synchronize two filesystems? How would you
set it up to do so securely?

2) How would you go about locating all the files in a specific directory
tree that contain the text "index.html"?


Thanks Everyone

------=_NextPart_000_003A_01C4171B.C6907BD0
Content-Type: text/x-vcard;
name="Scott Smallsreed.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Scott Smallsreed.vcf"

BEGIN:VCARD
VERSION:2.1
N:Smallsreed;Scott
FN:Scott Smallsreed
TEL;HOME;VOICE:775-849-8411
TEL;HOME;FAX:775-849-8412
ADR;HOME:;;3030 Chipmunk Dr.;Washoe Valley;Nevada;89704;US
LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:3030 Chipmunk Dr.=3D0D=3D0AWashoe =
Valley, Nevada 89704=3D0D=3D0AUS
EMAIL;PREF;INTERNET:scott.smallsreed@mindspring.com
REV:20040331T202913Z
END:VCARD

------=_NextPart_000_003A_01C4171B.C6907BD0--

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 31.03.2004 22:36:21 von Bradley Hook

I'd like to know a good answer on the first quest myself. As for the
second, I think something like this would give you a list:

#grep -l 'index.html' /root/of/directory/tree/*


Scott@Charter wrote:
> Hey-
>
> A couple questions for you experts. Thanks for the answers.
>
>
> 1) What command would you use to synchronize two filesystems? How would you
> set it up to do so securely?
>
> 2) How would you go about locating all the files in a specific directory
> tree that contain the text "index.html"?
>
>
> Thanks Everyone
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 31.03.2004 22:39:00 von Hal Wigoda

1) rsync
2) find -print -type f | xargs grep -l index.html
----- Original Message -----
From: "Scott@Charter"
To: "Linux-Admin-Group"
Sent: Wednesday, March 31, 2004 2:29 PM
Subject: Questions!


> Hey-
>
> A couple questions for you experts. Thanks for the answers.
>
>
> 1) What command would you use to synchronize two filesystems? How would
you
> set it up to do so securely?
>
> 2) How would you go about locating all the files in a specific directory
> tree that contain the text "index.html"?
>
>
> Thanks Everyone
>


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 31.03.2004 22:53:09 von Hal Wigoda

This is a multi-part message in MIME format.

------=_NextPart_000_0199_01C4172F.E280CC50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

i have a script that i wrote earlier year that will do part of it.

it is attached in a zip file with the readme and set up script.

any questions, please e-mail me.

any problems, let me know.

hal wigoda


----- Original Message -----
From: "Bradley Hook"
To:
Sent: Wednesday, March 31, 2004 2:36 PM
Subject: Re: Questions!


> I'd like to know a good answer on the first quest myself. As for the
> second, I think something like this would give you a list:
>
> #grep -l 'index.html' /root/of/directory/tree/*
>
>
> Scott@Charter wrote:
> > Hey-
> >
> > A couple questions for you experts. Thanks for the answers.
> >
> >
> > 1) What command would you use to synchronize two filesystems? How would
you
> > set it up to do so securely?
> >
> > 2) How would you go about locating all the files in a specific
directory
> > tree that contain the text "index.html"?
> >
> >
> > Thanks Everyone
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

------=_NextPart_000_0199_01C4172F.E280CC50
Content-Type: application/x-zip-compressed;
name="SecureCopy.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="SecureCopy.zip"

UEsDBBQAAAAIAFpdJjByh87aYAcAAIUaAAAKAAAAU2VjdXJlQ29wecVYbW/b NhD+bGE/4oo6aIs1
dpL2y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s+3iz/u7q6vLy9fn7U+ d4aQq2zDe0HsAVah
UXVNLa/GmHFEwWF2YE7nN5sEpd8LE01b6oPOhdjpQFjBAUk5GGsJbys/DOJ0 0ufpIMC4bYRpf/YC
2EE5mlx1ZVoa5JxG+6ov+gFa9FZFG/AydUcNTBZt3wysE4onoI6GzRw1Qx0L UdOGOgC9RFCYHGcS
f6YTTFF0B0mhwZOHV5R0EY5NUVg7hX8xqeuoHkF4Fwyg+RcJS0MTLCo+IASv CeVOupkiWhMpbaEp
jCr9ZzH6rcXUYYh5q7Jt1DDwXjUukPfyZrM9X61m/y7uNl1cR7h8GYOuQKyg HiRv9HWER9jh+8Mb
etcecl3L/hX0JWz65q0KR//4Mws/PPiNYzr5H1BLAQIUCxQAAAAIAFpdJjBy h87aYAcAAIUaAAAK
AAAAAAAAAAEAIAAAAAAAAABTZWN1cmVDb3B5UEsBAhQLFAAAAAgAU10mMF4t UAyoAgAAFQgAAAwA
AAAAAAAAAQAgAAAAiAcAAElOU1RBTEwuS0VZU1BLAQIUCxQAAAAIAGddJjAs 3OSBRgYAAF4SAAAR
AAAAAAAAAAEAIAAAAFoKAABSRUFETUUuU2VjdXJlQ29weVBLBQYAAAAAAwAD ALEAAADPEAAAAAA=

------=_NextPart_000_0199_01C4172F.E280CC50--


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 31.03.2004 23:26:19 von cummings

Hal Wigoda wrote:
> 1) rsync
> 2) find -print -type f | xargs grep -l index.html

More simply:

2) find -name index.html -print

--
Kevin J. Cummings
kjchome@rcn.com
cummings@kjchome.homeip.net
cummings@kjc386.framingham.ma.us
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 31.03.2004 23:40:41 von Hal Wigoda

no that is not right.

he wanted files that contained the text "index.html"
not the files that had "index.html" in their name.


----- Original Message -----
From: "Kevin J. Cummings"
To: "Hal Wigoda"
Cc: "Scott@Charter" ; "Linux-Admin-Group"

Sent: Wednesday, March 31, 2004 3:26 PM
Subject: Re: Questions!


> Hal Wigoda wrote:
> > 1) rsync
> > 2) find -print -type f | xargs grep -l index.html
>
> More simply:
>
> 2) find -name index.html -print
>
> --
> Kevin J. Cummings
> kjchome@rcn.com
> cummings@kjchome.homeip.net
> cummings@kjc386.framingham.ma.us
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 31.03.2004 23:44:54 von cummings

Oops, my bad!

Hal Wigoda wrote:
> no that is not right.
>
> he wanted files that contained the text "index.html"
> not the files that had "index.html" in their name.

--
Kevin J. Cummings
kjchome@rcn.com
cummings@kjchome.homeip.net
cummings@kjc386.framingham.ma.us
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 01.04.2004 00:05:54 von Christian Mayer

On Wed, Mar 31, 2004 at 04:26:19PM -0500, Kevin J. Cummings wrote:
> Hal Wigoda wrote:
> >1) rsync
> >2) find -print -type f | xargs grep -l index.html
>
> More simply:
>
> 2) find -name index.html -print

As the question was:
# 2) How would you go about locating all the files in a specific
# directory tree that contain the text "index.html"?
^^^^^^^

I would say Hal's answer is the correct one.

regards,
Christian
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 01.04.2004 00:23:53 von Glynn Clements

Hal Wigoda wrote:

> 2) find -print -type f | xargs grep -l index.html

Or, if you need to handle filenames which contain whitespace
characters:

find -type f -print0 | xargs -0 grep -l index.html

--
Glynn Clements
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 01.04.2004 09:50:37 von urgrue

i always simply use:
grep -r index.html /some/path/*


> Hal Wigoda wrote:
>
> > 2) find -print -type f | xargs grep -l index.html
>
> Or, if you need to handle filenames which contain whitespace
> characters:
>
> find -type f -print0 | xargs -0 grep -l index.html
>
> --
> Glynn Clements
> -
> To unsubscribe from this list: send the line "unsubscribe linux-
> admin"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 01.04.2004 17:27:24 von Hal Wigoda

sorry, but that is NOT correct either.

he is looking for files that content the string "index.html"
within the file,
NOT the file name.


----- Original Message -----
From: "urgrue"
To: "admin"
Sent: Thursday, April 01, 2004 1:50 AM
Subject: Re: Questions!


> i always simply use:
> grep -r index.html /some/path/*
>
>
> > Hal Wigoda wrote:
> >
> > > 2) find -print -type f | xargs grep -l index.html
> >
> > Or, if you need to handle filenames which contain whitespace
> > characters:
> >
> > find -type f -print0 | xargs -0 grep -l index.html
> >
> > --
> > Glynn Clements
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-
> > admin"
> > in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
> >
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 01.04.2004 18:01:46 von Hisashi T Fujinaka

Must be April 1.

Try it, and you'll learn that gnu grep has the "-r" flag that lets you
recurse into directories and that grep looks in files.

On Thu, 1 Apr 2004, Hal Wigoda wrote:

> sorry, but that is NOT correct either.
>
> he is looking for files that content the string "index.html"
> within the file,
> NOT the file name.
>
>
> ----- Original Message -----
> From: "urgrue"
> To: "admin"
> Sent: Thursday, April 01, 2004 1:50 AM
> Subject: Re: Questions!
>
>
> > i always simply use:
> > grep -r index.html /some/path/*

--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 01.04.2004 18:15:31 von Hal Wigoda

that's new to me.

thanks....

----- Original Message -----
From: "Hisashi T Fujinaka"
To: "Hal Wigoda"
Cc: "urgrue" ; "admin"
Sent: Thursday, April 01, 2004 10:01 AM
Subject: Re: Questions!


> Must be April 1.
>
> Try it, and you'll learn that gnu grep has the "-r" flag that lets you
> recurse into directories and that grep looks in files.
>
> On Thu, 1 Apr 2004, Hal Wigoda wrote:
>
> > sorry, but that is NOT correct either.
> >
> > he is looking for files that content the string "index.html"
> > within the file,
> > NOT the file name.
> >
> >
> > ----- Original Message -----
> > From: "urgrue"
> > To: "admin"
> > Sent: Thursday, April 01, 2004 1:50 AM
> > Subject: Re: Questions!
> >
> >
> > > i always simply use:
> > > grep -r index.html /some/path/*
>
> --
> Hisashi T Fujinaka - htodd@twofifty.com
> BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions!

am 01.04.2004 19:23:41 von Hal Wigoda

i must be the fool then....

----- Original Message -----
From: "Hisashi T Fujinaka"
To: "Hal Wigoda"
Cc: "urgrue" ; "admin"
Sent: Thursday, April 01, 2004 10:01 AM
Subject: Re: Questions!


> Must be April 1.
>
> Try it, and you'll learn that gnu grep has the "-r" flag that lets you
> recurse into directories and that grep looks in files.
>
> On Thu, 1 Apr 2004, Hal Wigoda wrote:
>
> > sorry, but that is NOT correct either.
> >
> > he is looking for files that content the string "index.html"
> > within the file,
> > NOT the file name.
> >
> >
> > ----- Original Message -----
> > From: "urgrue"
> > To: "admin"
> > Sent: Thursday, April 01, 2004 1:50 AM
> > Subject: Re: Questions!
> >
> >
> > > i always simply use:
> > > grep -r index.html /some/path/*
>
> --
> Hisashi T Fujinaka - htodd@twofifty.com
> BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html