文件操作 - spdxcheck-test.sh
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/linux-headers-5.15.0-186/scripts/spdxcheck-test.sh
编辑文件内容
#!/bin/sh # run check on a text and a binary file for FILE in Makefile Documentation/logo.gif; do python3 scripts/spdxcheck.py $FILE python3 scripts/spdxcheck.py - < $FILE done # run check on complete tree to catch any other issues python3 scripts/spdxcheck.py > /dev/null
修改文件时间
将文件时间修改为当前时间的前一年
删除文件