{"id":877,"date":"2024-10-01T14:24:12","date_gmt":"2024-10-01T12:24:12","guid":{"rendered":"https:\/\/sigeo.cerege.fr\/?p=877"},"modified":"2024-10-01T14:24:43","modified_gmt":"2024-10-01T12:24:43","slug":"regex","status":"publish","type":"post","link":"https:\/\/sigeo.cerege.fr\/?p=877","title":{"rendered":"Regex"},"content":{"rendered":"\n<p>An example of to use a regular expression to manage filenames<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>find .\/* -name \"LHD_FXX_08&#91;1-3]&#91;0-9]_62&#91;5-7]&#91;0-9]_PTS_C_LAMB93_IGN69.copc.laz\" -exec mv {} .\/output\/ \\;<\/code><\/pre>\n\n\n\n<p>This finds the files corresponding to the pattern and copy them.<\/p>\n\n\n\n<p>More details on this site and elsewhere on the web :<\/p>\n\n\n\n<p><a href=\"https:\/\/computing.stat.berkeley.edu\/tutorial-using-bash\/regex.html\">https:\/\/computing.stat.berkeley.edu\/tutorial-using-bash\/regex.html<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>An example of to use a regular expression to manage filenames This finds the files corresponding to the pattern and copy them. More details on this site and elsewhere on the web : https:\/\/computing.stat.berkeley.edu\/tutorial-using-bash\/regex.html<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,1],"tags":[],"class_list":["post-877","post","type-post","status-publish","format-standard","hentry","category-donnees-spatiales","category-sigeo"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=\/wp\/v2\/posts\/877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=877"}],"version-history":[{"count":1,"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=\/wp\/v2\/posts\/877\/revisions"}],"predecessor-version":[{"id":878,"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=\/wp\/v2\/posts\/877\/revisions\/878"}],"wp:attachment":[{"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sigeo.cerege.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}