Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Loop through same dir from 3 different scripts

2 views
Skip to first unread message

thomasriise

unread,
Dec 2, 2009, 5:02:49 AM12/2/09
to
Hi guys,

--------
Posted this in unix.shell - but that group is filled with spam.
--------

I want three instances of the same script to loop through the same
dir. (the run on 3 servers that holds the same mount)

How do I do this the easy way? I mean, so I wont treat the same file
twice.

Is it just mv?

Thanks!

tony_c...@yahoo.com

unread,
Dec 2, 2009, 7:24:43 PM12/2/09
to
thomasriise <thoma...@gmail.com> writes:

Depends on what the scripts are supposed to be doing...can
you provide at least an outline of what the scripts should
do, maybe what the filenames look like, before and after
states of the directories?

hth
t

bb

unread,
Dec 18, 2009, 10:29:01 AM12/18/09
to

I'm not sure what you are doing, but only the first one really access the remote
files with read, the other two will read from cache and just trigger a delayed
write on the remote host for atime updates if enabled.

/bb

0 new messages