overlap.sh

来自「lzo-1.08-src.zip 高效的压缩解压代码」· Shell 代码 · 共 28 行

SH
28
字号
#! /bin/shset -e## usage: util/overlap.sh [directory]## This script runs the overlap example program on a complete directory tree.## Copyright (C) 1996-2002 Markus Franz Xaver Johannes Oberhumer#OVERLAP="overlap"test -x ./examples/overlap && OVERLAP="./examples/overlap"test -x ./overlap.exe && OVERLAP="./overlap.exe"dir="${*-.}"TMPFILE="/tmp/lzo_$$.tmp"rm -f $TMPFILE(find $dir/ -type f -print0 > $TMPFILE) || truecat $TMPFILE | xargs -0 -r $OVERLAPrm -f $TMPFILEecho "Done."exit 0

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?