use relative path template for backup.html

This commit is contained in:
James Feng Cao 2022-11-25 13:25:29 +08:00
parent 68014621bb
commit b0aaa72b31
11 changed files with 11 additions and 44 deletions

View file

@ -275,10 +275,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
/termux: 命令运行结果将作为termux下命令运行。
checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附"?[文件前缀][[文件后缀]]"。譬如"file:///sdcard/?.png"会列举出"/sdcard"目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)
配置default.select如下
复制文本到地址栏:uweb:printf i:15;cat
笔记::(cat;echo;echo;)>>notes.txt
富文本笔记:html:(cat;echo '<p></p>';echo;)>>notes.html
命名笔记::(cat;echo;echo;)>>%s
复制文本到地址栏:/uweb:printf i:15;cat
复制至PC剪贴板::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done