filecap_tar.sh 351 B

123456789
  1. (cat<<EOF ;cat /sdcard/uweb/default.filecap)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.filecap
  2. txt:text/plain:curl -r 0-10240 -s "%u"
  3. tar.xz:text/plain:curl -r 0-10240 -s "%u"|tar -J -t
  4. tar.gz:text/plain:curl -r 0-10240 -s "%u"|tar -J -t
  5. tgz:text/plain:curl -r 0-10240 -s "%u"|tar -J -t
  6. tar:text/plain:curl -r 0-10240 -s "%u"|tar -t
  7. EOF