{"id":542,"date":"2025-01-10T15:36:06","date_gmt":"2025-01-10T15:36:06","guid":{"rendered":"https:\/\/webtechie.co.uk\/?p=542"},"modified":"2025-01-10T15:36:06","modified_gmt":"2025-01-10T15:36:06","slug":"rename-all-files-in-a-folder-to-txt","status":"publish","type":"post","link":"https:\/\/webtechie.co.uk\/?p=542","title":{"rendered":"Rename All Files in A Folder to .txt"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">On Windows right click in the folder and open in terminal. Then change to cmd by typing in cmd. Then run the following<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">for \/R %x in (<em>.<\/em>) do ren &#8220;%x&#8221; **.txt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is really useful if you are copying all backups from Oxidized. If you SSH into your LibreNMS\/Oxidized machine using MobaXterm you can direct to \/home\/oxidized\/.config\/oxidized\/logs\/ and copy all the files from there. You can also just do this directly on the Linux instance. All the files copy as .IP-SSH file. Which isn&#8217;t a usable file. Doing the above will rename all the <\/p>\n","protected":false},"excerpt":{"rendered":"<p>On Windows right click in the folder and open in terminal. Then change to cmd by typing in cmd. Then run the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,5],"tags":[],"class_list":["post-542","post","type-post","status-publish","format-standard","hentry","category-librenms","category-windows"],"_links":{"self":[{"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=542"}],"version-history":[{"count":1,"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/542\/revisions"}],"predecessor-version":[{"id":543,"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/542\/revisions\/543"}],"wp:attachment":[{"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webtechie.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}