* Questions!
@ 2004-03-31 20:29 Scott@Charter
2004-03-31 20:36 ` Questions! Bradley Hook
2004-03-31 20:39 ` Questions! Hal Wigoda
0 siblings, 2 replies; 14+ messages in thread
From: Scott@Charter @ 2004-03-31 20:29 UTC (permalink / raw)
To: Linux-Admin-Group
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Scott Smallsreed.vcf --]
[-- Type: text/x-vcard; name="Scott Smallsreed.vcf", Size: 366 bytes --]
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=QUOTED-PRINTABLE:3030 Chipmunk Dr.=0D=0AWashoe Valley, Nevada 89704=0D=0AUS
EMAIL;PREF;INTERNET:scott.smallsreed@mindspring.com
REV:20040331T202913Z
END:VCARD
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-03-31 20:29 Questions! Scott@Charter
@ 2004-03-31 20:36 ` Bradley Hook
2004-03-31 20:53 ` Questions! Hal Wigoda
2004-03-31 20:39 ` Questions! Hal Wigoda
1 sibling, 1 reply; 14+ messages in thread
From: Bradley Hook @ 2004-03-31 20:36 UTC (permalink / raw)
To: linux-admin
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-03-31 20:29 Questions! Scott@Charter
2004-03-31 20:36 ` Questions! Bradley Hook
@ 2004-03-31 20:39 ` Hal Wigoda
2004-03-31 21:26 ` Questions! Kevin J. Cummings
2004-03-31 22:23 ` Questions! Glynn Clements
1 sibling, 2 replies; 14+ messages in thread
From: Hal Wigoda @ 2004-03-31 20:39 UTC (permalink / raw)
To: Scott@Charter, Linux-Admin-Group
1) rsync
2) find <dirname> -print -type f | xargs grep -l index.html
----- Original Message -----
From: "Scott@Charter" <scott.smallsreed@charter.net>
To: "Linux-Admin-Group" <linux-admin@vger.kernel.org>
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
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-03-31 20:36 ` Questions! Bradley Hook
@ 2004-03-31 20:53 ` Hal Wigoda
0 siblings, 0 replies; 14+ messages in thread
From: Hal Wigoda @ 2004-03-31 20:53 UTC (permalink / raw)
To: Bradley Hook, Linux-Admin-Group
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
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" <bhook@kssb.net>
To: <linux-admin@vger.kernel.org>
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
>
[-- Attachment #2: SecureCopy.zip --]
[-- Type: application/x-zip-compressed, Size: 4502 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-03-31 20:39 ` Questions! Hal Wigoda
@ 2004-03-31 21:26 ` Kevin J. Cummings
2004-03-31 21:40 ` Questions! Hal Wigoda
2004-03-31 22:05 ` Questions! Christian Mayer
2004-03-31 22:23 ` Questions! Glynn Clements
1 sibling, 2 replies; 14+ messages in thread
From: Kevin J. Cummings @ 2004-03-31 21:26 UTC (permalink / raw)
To: Hal Wigoda; +Cc: Scott@Charter, Linux-Admin-Group
Hal Wigoda wrote:
> 1) rsync
> 2) find <dirname> -print -type f | xargs grep -l index.html
More simply:
2) find <dirname> -name index.html -print
--
Kevin J. Cummings
kjchome@rcn.com
cummings@kjchome.homeip.net
cummings@kjc386.framingham.ma.us
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-03-31 21:26 ` Questions! Kevin J. Cummings
@ 2004-03-31 21:40 ` Hal Wigoda
2004-03-31 21:44 ` Questions! Kevin J. Cummings
2004-03-31 22:05 ` Questions! Christian Mayer
1 sibling, 1 reply; 14+ messages in thread
From: Hal Wigoda @ 2004-03-31 21:40 UTC (permalink / raw)
To: Kevin J. Cummings; +Cc: Linux-Admin-Group
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" <cummings@kjchome.homeip.net>
To: "Hal Wigoda" <hwigoda@mindspring.com>
Cc: "Scott@Charter" <scott.smallsreed@charter.net>; "Linux-Admin-Group"
<linux-admin@vger.kernel.org>
Sent: Wednesday, March 31, 2004 3:26 PM
Subject: Re: Questions!
> Hal Wigoda wrote:
> > 1) rsync
> > 2) find <dirname> -print -type f | xargs grep -l index.html
>
> More simply:
>
> 2) find <dirname> -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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-03-31 21:40 ` Questions! Hal Wigoda
@ 2004-03-31 21:44 ` Kevin J. Cummings
0 siblings, 0 replies; 14+ messages in thread
From: Kevin J. Cummings @ 2004-03-31 21:44 UTC (permalink / raw)
To: Hal Wigoda; +Cc: Linux-Admin-Group
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-03-31 21:26 ` Questions! Kevin J. Cummings
2004-03-31 21:40 ` Questions! Hal Wigoda
@ 2004-03-31 22:05 ` Christian Mayer
1 sibling, 0 replies; 14+ messages in thread
From: Christian Mayer @ 2004-03-31 22:05 UTC (permalink / raw)
To: Linux-Admin-Group
On Wed, Mar 31, 2004 at 04:26:19PM -0500, Kevin J. Cummings wrote:
> Hal Wigoda wrote:
> >1) rsync
> >2) find <dirname> -print -type f | xargs grep -l index.html
>
> More simply:
>
> 2) find <dirname> -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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-03-31 20:39 ` Questions! Hal Wigoda
2004-03-31 21:26 ` Questions! Kevin J. Cummings
@ 2004-03-31 22:23 ` Glynn Clements
2004-04-01 7:50 ` Questions! urgrue
1 sibling, 1 reply; 14+ messages in thread
From: Glynn Clements @ 2004-03-31 22:23 UTC (permalink / raw)
To: Linux-Admin-Group
Hal Wigoda wrote:
> 2) find <dirname> -print -type f | xargs grep -l index.html
Or, if you need to handle filenames which contain whitespace
characters:
find <dirname> -type f -print0 | xargs -0 grep -l index.html
--
Glynn Clements <glynn.clements@virgin.net>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-03-31 22:23 ` Questions! Glynn Clements
@ 2004-04-01 7:50 ` urgrue
2004-04-01 15:27 ` Questions! Hal Wigoda
0 siblings, 1 reply; 14+ messages in thread
From: urgrue @ 2004-04-01 7:50 UTC (permalink / raw)
To: admin
i always simply use:
grep -r index.html /some/path/*
> Hal Wigoda wrote:
>
> > 2) find <dirname> -print -type f | xargs grep -l index.html
>
> Or, if you need to handle filenames which contain whitespace
> characters:
>
> find <dirname> -type f -print0 | xargs -0 grep -l index.html
>
> --
> Glynn Clements <glynn.clements@virgin.net>
> -
> 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
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-04-01 7:50 ` Questions! urgrue
@ 2004-04-01 15:27 ` Hal Wigoda
2004-04-01 16:01 ` Questions! Hisashi T Fujinaka
0 siblings, 1 reply; 14+ messages in thread
From: Hal Wigoda @ 2004-04-01 15:27 UTC (permalink / raw)
To: urgrue, admin
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" <urgrue@tumsan.fi>
To: "admin" <linux-admin@vger.kernel.org>
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 <dirname> -print -type f | xargs grep -l index.html
> >
> > Or, if you need to handle filenames which contain whitespace
> > characters:
> >
> > find <dirname> -type f -print0 | xargs -0 grep -l index.html
> >
> > --
> > Glynn Clements <glynn.clements@virgin.net>
> > -
> > 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
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-04-01 15:27 ` Questions! Hal Wigoda
@ 2004-04-01 16:01 ` Hisashi T Fujinaka
2004-04-01 16:15 ` Questions! Hal Wigoda
2004-04-01 17:23 ` Questions! Hal Wigoda
0 siblings, 2 replies; 14+ messages in thread
From: Hisashi T Fujinaka @ 2004-04-01 16:01 UTC (permalink / raw)
To: Hal Wigoda; +Cc: urgrue, admin
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" <urgrue@tumsan.fi>
> To: "admin" <linux-admin@vger.kernel.org>
> 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-04-01 16:01 ` Questions! Hisashi T Fujinaka
@ 2004-04-01 16:15 ` Hal Wigoda
2004-04-01 17:23 ` Questions! Hal Wigoda
1 sibling, 0 replies; 14+ messages in thread
From: Hal Wigoda @ 2004-04-01 16:15 UTC (permalink / raw)
To: Hisashi T Fujinaka; +Cc: urgrue, admin
that's new to me.
thanks....
----- Original Message -----
From: "Hisashi T Fujinaka" <htodd@twofifty.com>
To: "Hal Wigoda" <hwigoda@mindspring.com>
Cc: "urgrue" <urgrue@tumsan.fi>; "admin" <linux-admin@vger.kernel.org>
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" <urgrue@tumsan.fi>
> > To: "admin" <linux-admin@vger.kernel.org>
> > 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
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Questions!
2004-04-01 16:01 ` Questions! Hisashi T Fujinaka
2004-04-01 16:15 ` Questions! Hal Wigoda
@ 2004-04-01 17:23 ` Hal Wigoda
1 sibling, 0 replies; 14+ messages in thread
From: Hal Wigoda @ 2004-04-01 17:23 UTC (permalink / raw)
To: Hisashi T Fujinaka; +Cc: urgrue, admin
i must be the fool then....
----- Original Message -----
From: "Hisashi T Fujinaka" <htodd@twofifty.com>
To: "Hal Wigoda" <hwigoda@mindspring.com>
Cc: "urgrue" <urgrue@tumsan.fi>; "admin" <linux-admin@vger.kernel.org>
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" <urgrue@tumsan.fi>
> > To: "admin" <linux-admin@vger.kernel.org>
> > 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
>
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2004-04-01 17:23 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-31 20:29 Questions! Scott@Charter
2004-03-31 20:36 ` Questions! Bradley Hook
2004-03-31 20:53 ` Questions! Hal Wigoda
2004-03-31 20:39 ` Questions! Hal Wigoda
2004-03-31 21:26 ` Questions! Kevin J. Cummings
2004-03-31 21:40 ` Questions! Hal Wigoda
2004-03-31 21:44 ` Questions! Kevin J. Cummings
2004-03-31 22:05 ` Questions! Christian Mayer
2004-03-31 22:23 ` Questions! Glynn Clements
2004-04-01 7:50 ` Questions! urgrue
2004-04-01 15:27 ` Questions! Hal Wigoda
2004-04-01 16:01 ` Questions! Hisashi T Fujinaka
2004-04-01 16:15 ` Questions! Hal Wigoda
2004-04-01 17:23 ` Questions! Hal Wigoda
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).