Help With Find Syntax

2005-10-14 Thread Drew Tomlinson
I want to recursively search a directory and return files that end in .jpg or .gif but I can't seem to get the find syntax right. My basic command lines are: find /multimedia/Pictures -iname *.gif -print OR find /multimedia/Pictures -iname *.jpg -print Both of these work perfectly. But I

Re: Help With Find Syntax

2005-10-14 Thread Glenn Sieb
Drew Tomlinson said the following on 10/14/2005 2:53 PM: I want to recursively search a directory and return files that end in .jpg or .gif but I can't seem to get the find syntax right. My basic command lines are: find /multimedia/Pictures -iname *.gif -print OR find

Re: Help With Find Syntax

2005-10-14 Thread Charles Swiger
On Oct 14, 2005, at 2:53 PM, Drew Tomlinson wrote: $ find /multimedia/Pictures -iname *.gif -or *.jpg -print find: paths must precede expression Usage: find [path...] [expression] I've tried various placement of quotes, parenthesis, etc. but can't seem to find the right way to do this.

Re: Help With Find Syntax

2005-10-14 Thread Drew Tomlinson
On 10/14/2005 12:05 PM Glenn Sieb wrote: Drew Tomlinson said the following on 10/14/2005 2:53 PM: I want to recursively search a directory and return files that end in .jpg or .gif but I can't seem to get the find syntax right. My basic command lines are: find /multimedia/Pictures -iname

RE: Help With Find Syntax

2005-10-14 Thread Mark J. Sommer
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Tomlinson Sent: 10/14/2005 12:54 PM To: FreeBSD Questions Subject: Help With Find Syntax I want to recursively search a directory and return files that end in .jpg or .gif but I can't seem to get

Re: Help With Find Syntax

2005-10-14 Thread Glenn Sieb
Drew Tomlinson said the following on 10/14/2005 3:13 PM: OK, duh. I get it now. Thanks for pointing me in the right direction! Quite welcome! Enjoy!! Best, --Glenn -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.

Re: Help With 'find' Syntax

2003-11-01 Thread Drew Tomlinson
- Original Message - From: David Carter-Hitchin [EMAIL PROTECTED] To: Drew Tomlinson [EMAIL PROTECTED] Sent: Friday, October 31, 2003 5:04 PM Hi Drew, Find is one of those classic commands for confusing people. One just gets used to it over time. The behaviour of find varies

Re: Help With 'find' Syntax

2003-11-01 Thread Drew Tomlinson
- Original Message - From: Malcolm Kay [EMAIL PROTECTED] To: David Carter-Hitchin [EMAIL PROTECTED]; Drew Tomlinson [EMAIL PROTECTED] Sent: Friday, October 31, 2003 4:44 PM On Sat, 1 Nov 2003 11:34, David Carter-Hitchin wrote: Hi Drew, [snip] You may find the following note

Re: Help With 'find' Syntax -- SOLVED

2003-11-01 Thread Drew Tomlinson
Thank you to everyone for all your help! Something must have 'puked' during my nightly cvsup of the ports tree. Every directory under /usr/ports had a sysctl.core file. By deleting these files, I recovered my disk space. Thanks again! Drew ___

Re: Help With 'find' Syntax

2003-10-31 Thread Drew Tomlinson
- Original Message - From: David Carter-Hitchin [EMAIL PROTECTED] To: Drew Tomlinson [EMAIL PROTECTED] Cc: FreeBSD Questions [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 5:55 PM Subject: Re: Help With 'find' Syntax Hi Drew, This should find all files created or modified on 25th

Re: Help With 'find' Syntax

2003-10-31 Thread David Carter-Hitchin
: - Original Message - From: David Carter-Hitchin [EMAIL PROTECTED] To: Drew Tomlinson [EMAIL PROTECTED] Cc: FreeBSD Questions [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 5:55 PM Subject: Re: Help With 'find' Syntax Hi Drew, This should find all files created or modified

Re: Help With 'find' Syntax

2003-10-31 Thread Malcolm Kay
On Sat, 1 Nov 2003 11:34, David Carter-Hitchin wrote: Hi Drew, [snip] You may find the following note from man find helpful: # All primaries which take a numeric argument allow the number to be pre- # ceded by a plus sign (``+'') or a minus sign (``-''). A preceding plus # sign means ``more

Re: Help With 'find' Syntax

2003-10-30 Thread David Carter-Hitchin
Hi Drew, This should find all files created or modified on 25th October: find / -mtime 6 -ls -o -ctime 6 -ls (As today is 31st October which is 6 days after 25th. You may need to widen your search a little with a seperate search with 7 as the paramter as 6 may not catch files that were created

Help With 'find' Syntax

2003-10-29 Thread Drew Tomlinson
On October 25, my /usr partition lost nearly 50% of it's available space. This disk hasn't had any significant size changes since I built the system as it basically serves as a gateway. I'm trying to use the find command to determine what may have been written to the disk but am not having any