Re: find files

2023-11-11 Thread Samuel Sieb
On 11/11/23 14:08, Roger Heflin wrote: find . -newermt '1 Sep 2023" ! -name "._sync*" -ls Nice! I missed the operators. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedor

Re: find files

2023-11-11 Thread Roger Heflin
find . -newermt '1 Sep 2023" ! -name "._sync*" -ls On Sat, Nov 11, 2023 at 3:57 PM Samuel Sieb wrote: > > On 11/11/23 13:50, Patrick Dupre via users wrote: > > Hello, > > > > I wish to run > > find . -newermt '1 Sep 2023' > > I get a list of files, among them there are files that I which to excl

Re: find files

2023-11-11 Thread Samuel Sieb
On 11/11/23 13:50, Patrick Dupre via users wrote: Hello, I wish to run find . -newermt '1 Sep 2023' I get a list of files, among them there are files that I which to exclude like ./._sync_9922e9acef00.db ./._sync_9922e9acef00.db-wal ./._sync_9922e9acef00.db-shm I guess that I can exclude the fi

find files

2023-11-11 Thread Patrick Dupre via users
Hello, I wish to run find . -newermt '1 Sep 2023' I get a list of files, among them there are files that I which to exclude like ./._sync_9922e9acef00.db ./._sync_9922e9acef00.db-wal ./._sync_9922e9acef00.db-shm I guess that I can exclude the files ./.sync* How can I do this? Thank ===

Re: find with regex to find files matching pattern

2016-12-26 Thread bruce
Thanks Ahmad Mind totally blew by the regextype attribute... simple works as expected.. 'ppreciate it.. On Mon, Dec 26, 2016 at 5:29 AM, Ahmad Samir wrote: > On 26 December 2016 at 07:47, bruce wrote: >> ls /cloud_nfs/*PID.dat >> >> /cloud_nfs/1.2.3.4_PID.dat >> /cloud_nfs/100.2.3.4_PID.dat

Re: find with regex to find files matching pattern

2016-12-26 Thread Ahmad Samir
On 26 December 2016 at 07:47, bruce wrote: > ls /cloud_nfs/*PID.dat > > /cloud_nfs/1.2.3.4_PID.dat > /cloud_nfs/100.2.3.4_PID.dat > > > find . -regex '*\./*(\d+.\d+)*' not working.. ive seen multiple > examples.. so i'm doing something wrong... > > i've cd'd to the dir in question to run th

Re: find with regex to find files matching pattern

2016-12-25 Thread bruce
ls /cloud_nfs/*PID.dat /cloud_nfs/1.2.3.4_PID.dat /cloud_nfs/100.2.3.4_PID.dat find . -regex '*\./*(\d+.\d+)*' not working.. ive seen multiple examples.. so i'm doing something wrong... i've cd'd to the dir in question to run the test find... I know this is "simple" so i''m missing some

Re: find with regex to find files matching pattern

2016-12-25 Thread Jon LaBadie
On Sun, Dec 25, 2016 at 09:09:38PM -0500, bruce wrote: > Ok.. > > Maybe too much xmas glee... > > Sample files > 1.2.3.4_foo.dat > > 11.2.3.4_foo.dat > > 1.22.33.4_foo.dat > > etc. > > the fillenames follow the ipAddress format.. > > Trying to craft a simple find with regex/pattern to fi

find with regex to find files matching pattern

2016-12-25 Thread bruce
Ok.. Maybe too much xmas glee... Sample files 1.2.3.4_foo.dat 11.2.3.4_foo.dat 1.22.33.4_foo.dat etc. the fillenames follow the ipAddress format.. Trying to craft a simple find with regex/pattern to find the files. find / -name "*[0-9]{3}*" << doesn't work thoughts/comments thanks _