uweb/searchurl/script/filecap_tar.sh

9 lines
351 B
Bash
Raw Normal View History

2020-03-13 04:48:29 +00:00
(cat<<EOF ;cat /sdcard/uweb/default.filecap)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.filecap
txt:text/plain:curl -r 0-10240 -s "%u"
tar.xz:text/plain:curl -r 0-10240 -s "%u"|tar -J -t
tar.gz:text/plain:curl -r 0-10240 -s "%u"|tar -J -t
tgz:text/plain:curl -r 0-10240 -s "%u"|tar -J -t
tar:text/plain:curl -r 0-10240 -s "%u"|tar -t
EOF