![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Insert file names when concatenate files into a file | samky2005 | Shell Programming and Scripting | 2 | 06-05-2009 06:07 PM |
| find for specific content in file in the directory and list only file names | madhu_Jagarapu | AIX | 2 | 12-23-2008 02:13 AM |
| Finding & Moving Oldest File by Parsing/Sorting Date Info in File Names | nikosey | Shell Programming and Scripting | 6 | 07-30-2008 09:46 PM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 05:25 AM |
| To get the file names. | surjyap | Shell Programming and Scripting | 1 | 10-10-2005 07:11 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Can I search between file names?
Hi,
I have a large number of files that have in the file name a date stamp such as "091021". Is there a way to search for files where the name falls between dates in the name? Ex: find . -type f -name "*091001* - *091021*" -exec ls -l {} \; Something like that. |
|
||||
|
This is not working for me. Keeps going to the next line as if it's not finding anything. Here's what I'm typing:
Code:
find . | awk '$0>=from&&$0<=to' from="*090801*" to="*090930*" Code:
find . -type f | awk '$0>=from&&$0<=to' from="*090801*" to="*090930*" |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|