{"id":15273,"date":"2026-02-23T15:50:18","date_gmt":"2026-02-23T20:50:18","guid":{"rendered":"https:\/\/cyflex.com\/?page_id=15273"},"modified":"2026-02-23T15:50:18","modified_gmt":"2026-02-23T20:50:18","slug":"ext_labels","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/2-variables-and-computations\/ext_labels\/","title":{"rendered":"ext_labels"},"content":{"rendered":"<h3>Purpose:<\/h3>\n<dl>\n<dd><\/dd>\n<\/dl>\n<p style=\"padding-left: 40px;\">Extract unique labels from filenames in a specified directory, sort them, and write the result to a file.<\/p>\n<h3>Enter:<\/h3>\n<dl>\n<dd><strong>ext_labels<\/strong> &lt;directory&gt;\u00a0<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table style=\"width: 79.3412%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 2.50313%;\">directory<\/td>\n<td style=\"width: 97.3717%;\">Specify the path to the directory containing the files to process.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd><strong>ext_labels <\/strong>\/path\/to\/directory &amp;<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>This program extracts unique labels from filenames in a specified directory by identifying the substring after the last period in each filename, sorts them, and writes the result to a file named &#8216;hst_labels&#8217; in that directory.<\/p>\n<p>Ensure the specified directory exists and contains files.<\/p>\n<p>The program uses system commands for file listing and sorting.<\/p>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Extract unique labels from filenames in a specified directory, sort them, and write the result to a file. Enter: ext_labels &lt;directory&gt;\u00a0 Where: directory Specify the path to the directory containing the files to process. Example: ext_labels \/path\/to\/directory &amp; Notes: This program extracts unique labels from filenames in a specified directory by identifying the substring [&hellip;]<\/p>\n","protected":false},"author":35,"featured_media":0,"parent":1966,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-15273","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/15273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=15273"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/15273\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1966"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=15273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}