log.gz via regex : paths : /var/log patterns : "^.*?\\.(?:old|log\\.gz)$" size : 10m use_regex : yes - name : Find /var/log all directories, exclude nginx and mysql : paths : /var/log recurse : no file_type : directory excludes : 'nginx,mysql' # When using patterns that contain a comma, make sure they are formatted as lists to avoid splitting the pattern - name : Use a single pattern that contains a comma formatted as a list : paths : /var/log file_type : file use_regex : yes patterns : _. I also know that ls -A lists 'almost all' of the items, listing both hidden and un-hidden items, but excluding. (I think) technically it lists every item beginning with. name : Find /var/log files equal or greater than 10 megabytes ending with. lists only hidden 'items' (files
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |