文件操作 - compile_pngs.sh
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/python-urwid-1.1.1/docs/tools/compile_pngs.sh
编辑文件内容
#!/bin/bash -e # args: scripts to capture DISPLAYNUM=1 SCREENSHOTS=`dirname $0`/screenshots.sh XVFB=$(which Xvfb) if [ -n $XVFB ]; then Xvfb :$DISPLAYNUM -screen 0 1024x768x24 & XVFBPID=$! DISPLAY=:$DISPLAYNUM # this still doesn't work trap "kill $XVFBPID" EXIT fi for script in $@; do if [ -f "${script}.xdotool" ]; then "$SCREENSHOTS" "$script" < "${script}.xdotool" fi done
修改文件时间
将文件时间修改为当前时间的前一年
删除文件