On Sat, Dec 22, 2012 at 06:22:44AM -0800, Jack Mc Lauren wrote:
> Hi fellas
> How can I exclude specific directories from my find command ? I want to look
> for all files in the whole system except for those in e.g /extra directory.
> I use this command to find all files, but how c
On 12/22/12 15:22, Jack Mc Lauren wrote:
Hi fellas
How can I exclude specific directories from my find command ? I want to look
for all files in the whole system except for those in e.g /extra directory.
I use this command to find all files, but how can I exclude /extra directory ?
find
On Sat, 22 Dec 2012 06:22:44 -0800 (PST)
Jack Mc Lauren wrote:
> Hi fellas
> How can I exclude specific directories from my find command ? I want
> to look for all files in the whole system except for those in
> e.g /extra directory. I use this command to find all files, but how
>
Hi,
On Sat, 22 Dec 2012 06:22:44 -0800 (PST)
Jack Mc Lauren wrote:
JML> How can I exclude specific directories from my find command ? I
JML> want to look for all files in the whole system except for those in
JML> e.g /extra directory. I use this command to find all files, but
JML&g
Hi fellas
How can I exclude specific directories from my find command ? I want to look
for all files in the whole system except for those in e.g /extra directory.
I use this command to find all files, but how can I exclude /extra directory ?
find / -type f
Thanks in advance
Mike Clarke writes:
> find . -type d -name dir1 -prune -o -name dir2 -prune -o -name \*
>
> ... should list all files except those in dir1 or dir2
It certainly does. Thank you. I was off on enough wrong syntax
tracks that it probably would have taken a very long time to
figure it out. I found ton
On Monday 07 February 2011, Martin McCormick wrote:
> Can one use the -prune directive multiple times in a
> find command to specify a list of directories not to descend?
>
> It would be like
>
> find . -name "*" -prune dir1 -prune dir2 -print
>
>
Can one use the -prune directive multiple times in a
find command to specify a list of directories not to descend?
It would be like
find . -name "*" -prune dir1 -prune dir2 -print
or whatever you wanted find to do, but that does not work or I
wouldn't be asking.
It has to wait for completion to see the exit status.
Thanks. I misunderstood what I read.
Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-quest
On Thu, Apr 9, 2009 at 8:01 AM, Jay Hall wrote:
> When using the find command with the -exec option, does the find command
> wait for the command being executed to finish before returning the next
> result?
>
> For example, if I am using find -exec {} to copy files to tape, will
In the last episode (Apr 09), Jay Hall said:
> When using the find command with the -exec option, does the find command
> wait for the command being executed to finish before returning the next
> result?
>
> For example, if I am using find -exec {} to copy files to tape, will find
When using the find command with the -exec option, does the find
command wait for the command being executed to finish before returning
the next result?
For example, if I am using find -exec {} to copy files to tape, will
find wait for the command to write the file to tape complete before
06 Nov 13 04:18 2008-11-13.mysql-wiki.sql
> -rw--- 1 www wheel 111845376 Nov 13 04:18 2008-11-13.www.tar
> -r-xrw 1 www wheel 8109 Nov 13 04:16 daily_backup.sh
>
> For some reason, the "find" command above is getting a "permission denied."
&
8109 Nov 13 04:16 daily_backup.sh
For some reason, the "find" command above is getting a "permission denied."
And, again, the "find" command is being run by the "www" user, who
owns the files and dir.
The exact message is: "find: .: Permission denied&qu
Need "find" binary for FREE BSD 4.9 - REL p11
Need to place this command on a remote server for a cron script to function.
Please reply to [EMAIL PROTECTED] (Alan)
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/m
On 9/22/2004 11:23 AM Matthew Seaman wrote:
On Wed, Sep 22, 2004 at 10:47:38AM -0700, Drew Tomlinson wrote:
OK, I'm trying to understand the difference. According to the manual
-ctime is "change of file status" and -mtime is "last modification
time". I think I understand what modification me
On Wed, Sep 22, 2004 at 10:47:38AM -0700, Drew Tomlinson wrote:
> OK, I'm trying to understand the difference. According to the manual
> -ctime is "change of file status" and -mtime is "last modification
> time". I think I understand what modification means (changing the
> contents of the fil
> OK, I'm trying to understand the difference. According to the manual
> -ctime is "change of file status" and -mtime is "last modification
> time". I think I understand what modification means (changing the
> contents of the file) but what is "change of file status"? In my
> particular sit
On 9/22/2004 10:34 AM Matthew Seaman wrote:
On Wed, Sep 22, 2004 at 09:04:38AM -0700, Drew Tomlinson wrote:
On 9/22/2004 8:39 AM Matthew Seaman wrote:
Try:
find /path/to/Maildir/.Spam/cur -type f -mtime +1 -print
Or you might want to use -ctime instead of -mtime -- I think mtime is
prob
On Wed, Sep 22, 2004 at 09:04:38AM -0700, Drew Tomlinson wrote:
> On 9/22/2004 8:39 AM Matthew Seaman wrote:
> >Try:
> >
> > find /path/to/Maildir/.Spam/cur -type f -mtime +1 -print
> >
> >Or you might want to use -ctime instead of -mtime -- I think mtime is
> >probably a more reliable measure t
rrent directory listing:
I'm trying to use the find command to do the deleting but am having
trouble with the syntax. For testing, I'm using this command:
blacklamb> find /path/to/Maildir/.Spam/cur \! -newerct 1d -print
blacklamb>
It finds nothing. I read in the manual that
On Wed, Sep 22, 2004 at 08:26:07AM -0700, Drew Tomlinson wrote:
> I'm trying to write a script to feed the mail in my spam folder to
> Spamassassin's sa-learn and then delete the mails older than 1 day in
> that spam folder. Here's my current directory listing:
>
Drew Tomlinson wrote:
I've also tried a combination of adding ()'s around the expression but
that hasn't worked either. What am I missing? Is this an appropriate
choice for what I want to do? Is there another command better suited
for this task?
Use quotes ""
# find . -name "aaa" -print diff
5718 Sep 22 06:34
1095860049.48407_0.blacklamb.mykitchentable.net:2,
-rw--- 1 user group 5254 Sep 22 07:22
1095862947.48525_0.blacklamb.mykitchentable.net:2,
-rw-r--r-- 1 user group 23314 Sep 21 18:41
1095863122.M795851P95252V5B00I0031FB22_1.blacklamb.mykitchentable.net,S=23314:2,S
I'm trying
On Mon, 13 Oct 2003 21:02:11 -0400
Gerald S Stoller <[EMAIL PROTECTED]> wrote:
> FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001
> [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386
>
> I tried out the -inum option of the find comma
FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386
I tried out the -inum option of the find command and find
that it didn't work. I got a valid inode number from 'ls -i' and fed
tha
On Wed, Nov 06, 2002 at 11:24:19AM -0600 Matthew Bettinger
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am having a bit of trouble with the find command. I am a novice in its use
> so maybe someone can help me out here.
>
> I have a list of files (hundreds) in direct
Matthew Bettinger <[EMAIL PROTECTED]> writes:
> I have a list of files (hundreds) in directory . and need to search through
> and delete every file that contains the word foo.
Assuming that "directory" means "directory tree" and that "word" means
"string", this might work:
find . -type f -print
06 at 12:24, Matthew Bettinger wrote:
-BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I am having a bit of trouble with the find command. I am a novice in its use
so maybe someone can help me out here.
I have a list of files (hundreds) in directo
On Wed, Nov 06, 2002 at 11:24:19AM -0600, Matthew Bettinger wrote:
> I am having a bit of trouble with the find command. I am a novice in its use
> so maybe someone can help me out here.
>
> I have a list of files (hundreds) in directory . and need to search through
> and de
> I am having a bit of trouble with the find command. I am a novice in its
>use so maybe someone can help me out here.
Thanks for those that posted regarding the use of the find command. It's all
about the -print0 and xargs -0
Matt
To Unsubscribe: send mail to [EMAI
Matthew Bettinger wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I am having a bit of trouble with the find command. I am a novice in its use
so maybe someone can help me out here.
I have a list of files (hundreds) in directory . and need to search through
and delete every
On Wed, Nov 06, 2002 at 11:24:19AM -0600, Matthew Bettinger wrote:
> Hello,
>
> I am having a bit of trouble with the find command. I am a novice in its use
> so maybe someone can help me out here.
>
> I have a list of files (hundreds) in directory . and need to search thr
On Wed, Nov 06, 2002 at 11:24:19AM -0600, Matthew Bettinger wrote:
> I am having a bit of trouble with the find command. I am a novice in its use
> so maybe someone can help me out here.
>
> I have a list of files (hundreds) in directory . and need to search through
> and de
In the last episode (Nov 06), Matthew Bettinger said:
> I am having a bit of trouble with the find command. I am a novice in
> its use so maybe someone can help me out here.
>
> I have a list of files (hundreds) in directory . and need to search
> through and delete every file th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I am having a bit of trouble with the find command. I am a novice in its use
so maybe someone can help me out here.
I have a list of files (hundreds) in directory . and need to search through
and delete every file that contains the word
36 matches
Mail list logo