uweb/searchurl/script/filecap_tar.sh

9 lines
351 B
Bash
Raw Normal View History

2020-04-29 08:37:43 +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