|
|
Subject:
Use Linux locate command to include and exclude certain file names
Category: Computers > Operating Systems Asked by: mikeyb-ga List Price: $50.00 |
Posted:
21 Oct 2005 13:32 PDT
Expires: 31 Oct 2005 11:03 PST Question ID: 583198 |
Using the linux locate command all files that have _webos_cfg.php in the file name and do not have the excludethissite.com in the name. Here's a sample list to work with: subdomain1.excludethissite.com_webos_cfg.php sd4.keepthissite.com.com_webos_cfg.php sd4e.keepthissite.com.com_webos_cfg.php sd4w.keepthissite.com.com_webos_cfg.php sd45.keepthissite.com.com_webos_cfg.php subdomain2.excludethissite.com_webos_cfg.php subdomain3.excludethissite.com_webos_cfg.php | |
| |
| |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: Use Linux locate command to include and exclude certain file names
From: linuxguru-ga on 23 Oct 2005 01:10 PDT |
It is possible with locate command, I can give you a solution to this. Alternatively I can give you a solution the uses find instead which should be just as fast if run in directories of say 1000 files or so. Regards Andrew |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |