文件操作 - policyeditor.bash
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/bash_completion.d/policyeditor.bash
编辑文件内容
_policyeditor() { local cur prev opts base cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" # PolicyEditor Options opts="-help -file -defaultfile -codebase -signedby -principals -verbose" COMPREPLY=($(compgen -W "${opts}" -- ${cur})) return 0 } complete -F _policyeditor policyeditor
修改文件时间
将文件时间修改为当前时间的前一年
删除文件