文件操作 - cyber-desktop-agent.sh
返回文件管理
返回主菜单
删除本文件
文件: /opt/acronis/bin/cyber-desktop-agent.sh
编辑文件内容
#!/bin/sh # Note: assumes GNU libc (ldd --version format) LDD_VERSION=`ldd --version | sed 's/.* //;q'` if echo "$LDD_VERSION" | awk -F. '{ if ($1 > 2 || ($1 == 2 && $2 >= 31)) { exit 0 } else { exit 1 } }'; then export LD_LIBRARY_PATH=/opt/acronis/lib/cyber-desktop-service-qt6:/opt/acronis/lib exec /opt/acronis/bin/cyber-desktop-agent-qt6 --capture else # Yes, paths are in reverse order for Qt5. This is intentional. # In the old build we had log dir and Qt plugins dir derived from the first item, # so we need to keep it in the same order. export LD_LIBRARY_PATH=/opt/acronis/lib:/opt/acronis/lib/cyber-desktop-service-qt5 exec /opt/acronis/bin/cyber-desktop-agent-qt5 --capture fi
修改文件时间
将文件时间修改为当前时间的前一年
删除文件