From b0aaa72b31d628dc906c7facb14819bade502bca Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Fri, 25 Nov 2022 13:25:29 +0800 Subject: [PATCH] use relative path template for backup.html --- en/pccopy/index.html | 2 +- index.html | 11 +---------- zh/_posts/index.xml | 5 +---- zh/index.xml | 5 +---- zh/pccopy/index.html | 5 +---- zh/searchurl/backup.html | 2 +- zh/tags/pc/index.xml | 5 +---- zh/tags/ssh/index.xml | 5 +---- zh/tags/termux/index.xml | 5 +---- zh/tags/windows/index.xml | 5 +---- zh/tags/剪贴板/index.xml | 5 +---- 11 files changed, 11 insertions(+), 44 deletions(-) diff --git a/en/pccopy/index.html b/en/pccopy/index.html index cf210f2..c79cbbe 100644 --- a/en/pccopy/index.html +++ b/en/pccopy/index.html @@ -79,7 +79,7 @@ It formats as "[input mimetype]/[output mimetype]".

checked.js: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][[postfix]]". For example, "file:///sdcard/?.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" as the later example).

default.select sample file:
-copy2addressbar:uweb:printf i:15;cat
+copy2addressbar:/uweb:printf i:15;cat
copy2PCClipboard::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
copyFiles:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done

diff --git a/index.html b/index.html index 33185bf..db7d507 100644 --- a/index.html +++ b/index.html @@ -1,10 +1 @@ - - - - en/ - - - - - - + diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index f908feb..5b2a357 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -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 diff --git a/zh/index.xml b/zh/index.xml index 460dcce..b1d2fa6 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -487,10 +487,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 diff --git a/zh/pccopy/index.html b/zh/pccopy/index.html index c545f2e..531a6a9 100644 --- a/zh/pccopy/index.html +++ b/zh/pccopy/index.html @@ -78,10 +78,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

diff --git a/zh/searchurl/backup.html b/zh/searchurl/backup.html index 35c6e24..777712a 100644 --- a/zh/searchurl/backup.html +++ b/zh/searchurl/backup.html @@ -2,7 +2,7 @@