文件操作 - xfce4-popup-directorymenu
返回文件管理
返回主菜单
删除本文件
文件: /usr/bin/xfce4-popup-directorymenu
编辑文件内容
#!/bin/sh # # Copyright (C) 2010 Nick Schermer <nick@xfce.org> # # This library is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2 of the License, or (at your option) # any later version. # # This library is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for # more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # export TEXTDOMAIN="xfce4-panel" export TEXTDOMAINDIR="/usr/share/locale" ATPOINTER="false" case "$1" in -h|--help) echo "$(gettext "Usage:")" echo " $(basename $0) [$(gettext "OPTION")...]" echo echo "$(gettext "Options:")" echo " -p, --pointer $(gettext "Popup menu at current mouse position")" echo " -h, --help $(gettext "Show help options")" echo " -V, --version $(gettext "Print version information and exit")" exit 0 ;; -V|--version) exec /usr/bin/xfce4-panel -V "$(basename $0)" exit 0 ;; -p|--pointer) ATPOINTER="true" ;; esac exec /usr/bin/xfce4-panel --plugin-event=directorymenu:popup:bool:$ATPOINTER # vim:set ts=2 sw=2 et ai:
修改文件时间
将文件时间修改为当前时间的前一年
删除文件