<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zetamatta</author_name>
  <author_url>https://blog.hatena.ne.jp/zetamatta/</author_url>
  <blog_title>標準愚痴出力</blog_title>
  <blog_url>https://zetamatta.hatenablog.com/</blog_url>
  <categories>
    <anon>Rust</anon>
    <anon>lua</anon>
    <anon>JScript</anon>
  </categories>
  <description>nyagos には、ファイルをゴミ箱へ移動させる trash というコマンドがあります。 実装は Lua で、こんな感じで COM オブジェクトで実現してました。 nyagos.d/trash.lua : if not nyagos then print(&quot;This is a script for nyagos not lua.exe&quot;) os.exit() end nyagos.alias.trash = function(args) if #args &lt;= 0 then nyagos.writerr(&quot;Move files or directories to Windows Trashbo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzetamatta.hatenablog.com%2Fentry%2F2023%2F10%2F27%2F023500&quot; title=&quot;Rustでゴミ箱コマンドを作ったり - 標準愚痴出力&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-10-27 02:35:00</published>
  <title>Rustでゴミ箱コマンドを作ったり</title>
  <type>rich</type>
  <url>https://zetamatta.hatenablog.com/entry/2023/10/27/023500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
