List Info

Thread: More help with find




More help with find
user name
2005-11-06 23:24:44
On Sun, Nov 06, 2005 at 01:40:12PM -0800, Jeffrey Ellis
wrote:
<snip>
> What I really need is an expression which will ls all
files found which have
> a mod. date/time of more than a certain number of days
from today, but that
> are *not* in the Volumes directory, i.e., only those
results which exist on
> the startup volume.
> 
> Is there a way to do this?

The FreeBSD version of find has the '-x' option that does
what you
want. Don't know what kind of 'find' darwin uses. GNU find
has a similar
option. 

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~r
smith/) Please send e-mail as plain text.
public key: http://www.xs
4all.nl/~rsmith/pubkey.txt
More help with find
user name
2005-11-07 00:54:57
Hi, Roland--

That works great -- thank you!

Ok... Would you mind if I asked you the next step?

I'm now able to find all the files on the startup volume and
not any other
volumes.

But now I need to be able to also see that same criteria for
a particular
volume which is *not* the startup drive, i.e., a specific
volume which is
contained in the Volumes directory, say 'foo'. In other
words, I need to be
able to isolate particular volumes to perform the find.

I then would like to be able to have the modification date
and filesize
added to the display of the path and filename, and then sort
the results by
the mod. date in descending order.

Is there a way to do that?

All My Best,
Jeffrey


on 11/6/05 3:24 PM, Rolannessto at rsmithxs4all.nl
wrote:

> On Sun, Nov 06, 2005 at 01:40:12PM -0800, Jeffrey Ellis
wrote:
> <snip>
>> What I really need is an expression which will ls
all files found which have
>> a mod. date/time of more than a certain number of
days from today, but that
>> are *not* in the Volumes directory, i.e., only
those results which exist on
>> the startup volume.
>> 
>> Is there a way to do this?
> 
> The FreeBSD version of find has the '-x' option that
does what you
> want. Don't know what kind of 'find' darwin uses. GNU
find has a similar
> option. 
> 
> Roland


_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
More help with find
user name
2005-11-07 00:58:37
Hi, Rolland--

Ok. Stupid of me.

Find -x /volumes/foo/*

Seems to work fine. So I guess now I'm just left with the
display and
sorting questions.

All My Best,
Jeffrey



on 11/6/05 3:24 PM, Rolannessto at rsmithxs4all.nl
wrote:

> On Sun, Nov 06, 2005 at 01:40:12PM -0800, Jeffrey Ellis
wrote:
> <snip>
>> What I really need is an expression which will ls
all files found which have
>> a mod. date/time of more than a certain number of
days from today, but that
>> are *not* in the Volumes directory, i.e., only
those results which exist on
>> the startup volume.
>> 
>> Is there a way to do this?
> 
> The FreeBSD version of find has the '-x' option that
does what you
> want. Don't know what kind of 'find' darwin uses. GNU
find has a similar
> option. 
> 
> Roland


_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )